Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002404/0.002404, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.41 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3391, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0182/0.3573, allocations: 16.01 MB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.3653, allocations: 4.816 MB / 1.089 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.3661, allocations: 71.69 kB / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.3686, allocations: 1.049 MB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3701, allocations: 0.7464 MB / 1.09 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3722, allocations: 0.9152 MB / 1.091 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.3755, allocations: 3.618 MB / 1.095 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004945/0.3805, allocations: 4.801 MB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.3824, allocations: 1.578 MB / 1.101 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.3845, allocations: 1.772 MB / 1.103 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004364/0.3849, allocations: 340 kB / 1.103 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3863, allocations: 0.7997 MB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.3875, allocations: 1.326 MB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.3889, allocations: 1.455 MB / 1.107 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.3932, allocations: 5.095 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3932, allocations: 0 / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3932, allocations: 4 kB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.714e-05/0.3933, allocations: 0 / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004623/0.3979, allocations: 2.651 MB / 1.114 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.398, allocations: 12.02 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.4018, allocations: 0.8212 MB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.4042, allocations: 1.505 MB / 1.116 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4044, allocations: 177.1 kB / 1.117 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.4047, allocations: 236.3 kB / 1.117 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006155/0.4109, allocations: 4.165 MB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.411, allocations: 0 / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.4112, allocations: 103.9 kB / 1.121 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.4114, allocations: 172.5 kB / 1.121 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.4168, allocations: 3.625 MB / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.4353, allocations: 16.55 MB / 1.141 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.4387, allocations: 2.293 MB / 1.143 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/0.4396, allocations: 0.5785 MB / 1.144 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.4397, allocations: 93.66 kB / 1.144 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4398, allocations: 55.05 kB / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.4398, allocations: 0 / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005485/0.4453, allocations: 3.428 MB / 1.147 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.4454, allocations: 111.5 kB / 1.147 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.4468, allocations: 1.018 MB / 1.148 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.4468, allocations: 41.7 kB / 1.148 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007783/0.4476, allocations: 1.103 MB / 1.149 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.4479, allocations: 264.3 kB / 1.15 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.4483, allocations: 279.2 kB / 1.15 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.4486, allocations: 414.7 kB / 1.15 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/0.4495, allocations: 0.6167 MB / 1.151 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4508, allocations: 1.189 MB / 1.152 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.453, allocations: 1.868 MB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.4531, allocations: 8 kB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003208/0.4563, allocations: 2.018 MB / 1.156 GB, free: 13.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.4563, allocations: 15.94 kB / 1.156 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.4564, allocations: 20 kB / 1.156 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.4568, allocations: 171.8 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4579, allocations: 343.4 kB / 1.156 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.739e-05/0.4579, allocations: 39.86 kB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.4589, allocations: 131.6 kB / 1.157 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.459, allocations: 68 kB / 1.157 GB, free: 13.05 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.001476/0.4605, allocations: 0.9771 MB / 1.158 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.4607, allocations: 106.7 kB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.4627, allocations: 1.23 MB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4627, allocations: 11.94 kB / 1.159 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4628, allocations: 4 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.4628, allocations: 3.984 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/0.4682, allocations: 3.803 MB / 1.163 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.4683, allocations: 7.984 kB / 1.163 GB, free: 6.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.4688, allocations: 151.8 kB / 1.163 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.4692, allocations: 147.5 kB / 1.163 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.4692, allocations: 19.98 kB / 1.163 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.4693, allocations: 11.94 kB / 1.163 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4693, allocations: 4 kB / 1.163 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4712, allocations: 1.464 MB / 1.164 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.4716, allocations: 267.8 kB / 1.165 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.4717, allocations: 20 kB / 1.165 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.4723, allocations: 63.91 kB / 1.165 GB, free: 4.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4724, allocations: 60.36 kB / 1.165 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.4725, allocations: 20 kB / 1.165 GB, free: 4.418 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008472/0.4733, allocations: 0.7031 MB / 1.165 GB, free: 3.703 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4733, allocations: 0 / 1.165 GB, free: 3.703 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001386/0.4747, allocations: 388 kB / 1.166 GB, free: 3.324 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002151/0.475, allocations: 127.1 kB / 1.166 GB, free: 3.191 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002827/0.4778, allocations: 2.015 MB / 1.168 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4778, allocations: 0 / 1.168 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.4788, allocations: 0.8631 MB / 1.169 GB, free: 144 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.4802, allocations: 274.3 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.486, allocations: 3.821 MB / 1.173 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4878, allocations: 1.927 MB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00112/0.4889, allocations: 437.4 kB / 1.175 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.4891, allocations: 83.42 kB / 1.175 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of SimCode: time 8.41e-07/0.4891, allocations: 0 / 1.175 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.02367/0.5128, allocations: 13.28 MB / 1.188 GB, free: 12.38 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches