Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007964/0.007965, allocations: 98.86 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 202 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3437, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006286/0.3501, allocations: 3.753 MB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3536, allocations: 1.797 MB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.3542, allocations: 11.94 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.3553, allocations: 266.6 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009688/0.3563, allocations: 294.5 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.357, allocations: 251 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.3579, allocations: 0.6049 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005304/0.3584, allocations: 263 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.3589, allocations: 239 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.3594, allocations: 235 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.3594, allocations: 31.94 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.3601, allocations: 271.4 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.3602, allocations: 119.6 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.3605, allocations: 202.9 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.3615, allocations: 0.603 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3615, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.097e-06/0.3615, allocations: 4 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.3616, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001602/0.3632, allocations: 0.7473 MB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3632, allocations: 12.03 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.3642, allocations: 132.5 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.365, allocations: 415.9 kB / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3651, allocations: 24.97 kB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.3652, allocations: 32.36 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3663, allocations: 0.5472 MB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3663, allocations: 0 / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.3664, allocations: 16 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.3665, allocations: 44.47 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.3673, allocations: 413.7 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.3714, allocations: 3.334 MB / 1.181 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.3721, allocations: 342.3 kB / 1.181 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3725, allocations: 176.8 kB / 1.181 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3725, allocations: 4 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3725, allocations: 34.56 kB / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 3.577e-06/0.3725, allocations: 0 / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.002055/0.3746, allocations: 1.067 MB / 1.182 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3747, allocations: 55.64 kB / 1.182 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.375, allocations: 337.6 kB / 1.183 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3751, allocations: 29.7 kB / 1.183 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3753, allocations: 260 kB / 1.183 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/0.3754, allocations: 99.16 kB / 1.183 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3755, allocations: 82.08 kB / 1.183 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002744/0.3758, allocations: 342.8 kB / 1.184 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.3761, allocations: 148.8 kB / 1.184 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.3766, allocations: 290.5 kB / 1.184 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.3773, allocations: 487.4 kB / 1.184 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3773, allocations: 7.938 kB / 1.184 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009874/0.3783, allocations: 0.5545 MB / 1.185 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3784, allocations: 11.98 kB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3784, allocations: 12 kB / 1.185 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.3787, allocations: 82.52 kB / 1.185 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.3791, allocations: 87.88 kB / 1.185 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.3791, allocations: 11.94 kB / 1.185 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.3794, allocations: 31.91 kB / 1.185 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3794, allocations: 16 kB / 1.185 GB, free: 2.969 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.3797, allocations: 181.6 kB / 1.185 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.3797, allocations: 39.77 kB / 1.185 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009732/0.3807, allocations: 464 kB / 1.186 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3807, allocations: 11.98 kB / 1.186 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.3808, allocations: 0 / 1.186 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3808, allocations: 0 / 1.186 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3824, allocations: 0.958 MB / 1.187 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3824, allocations: 4.094 kB / 1.187 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3827, allocations: 51.89 kB / 1.187 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.3829, allocations: 82.52 kB / 1.187 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.383, allocations: 11.98 kB / 1.187 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.383, allocations: 4 kB / 1.187 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.383, allocations: 0 / 1.187 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.384, allocations: 0.5435 MB / 1.188 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3842, allocations: 144.8 kB / 1.188 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3842, allocations: 8 kB / 1.188 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3845, allocations: 27.91 kB / 1.188 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3846, allocations: 27.84 kB / 1.188 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3846, allocations: 8 kB / 1.188 GB, free: 268 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002843/0.3849, allocations: 235.2 kB / 1.188 GB, free: 36 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3849, allocations: 0 / 1.188 GB, free: 36 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004599/0.3854, allocations: 84.05 kB / 1.188 GB, free: 15.95 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.3856, allocations: 119.1 kB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009493/0.3866, allocations: 0.6236 MB / 1.189 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3866, allocations: 128 / 1.189 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.387, allocations: 437.7 kB / 1.189 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.3877, allocations: 128.1 kB / 1.189 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3888, allocations: 0.73 MB / 1.19 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.3893, allocations: 0.8273 MB / 1.191 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.3896, allocations: 79.36 kB / 1.191 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.3897, allocations: 27.44 kB / 1.191 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.3897, allocations: 0 / 1.191 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.009486/0.3992, allocations: 4.735 MB / 1.196 GB, free: 8.129 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches