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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00176/0.00176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002137/0.002137, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.45 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.407, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01888/0.426, allocations: 15.92 MB / 1.068 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008964/0.435, allocations: 4.817 MB / 1.072 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.4366, allocations: 59.69 kB / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.4395, allocations: 0.975 MB / 1.073 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.4419, allocations: 0.7002 MB / 1.074 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.4445, allocations: 0.8335 MB / 1.075 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00572/0.4502, allocations: 5.268 MB / 1.08 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.4578, allocations: 5.416 MB / 1.085 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.4604, allocations: 1.335 MB / 1.087 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.4632, allocations: 1.815 MB / 1.088 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.4636, allocations: 236 kB / 1.089 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.4654, allocations: 0.8307 MB / 1.089 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.4668, allocations: 1.232 MB / 1.091 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.4684, allocations: 1.342 MB / 1.092 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.4731, allocations: 5.056 MB / 1.097 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4731, allocations: 0 / 1.097 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4731, allocations: 0 / 1.097 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.584e-05/0.4732, allocations: 4 kB / 1.097 GB, free: 10.86 MB / 0.8575 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.005205/0.4785, allocations: 2.643 MB / 1.099 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4785, allocations: 8.031 kB / 1.099 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.4825, allocations: 0.8329 MB / 1.1 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.4856, allocations: 1.497 MB / 1.102 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4857, allocations: 177.1 kB / 1.102 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/0.4862, allocations: 236.3 kB / 1.102 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/0.4937, allocations: 4.169 MB / 1.106 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.4938, allocations: 4 kB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.494, allocations: 103.9 kB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.4942, allocations: 164.5 kB / 1.106 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006427/0.5007, allocations: 3.628 MB / 1.11 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.5213, allocations: 16.54 MB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.5247, allocations: 2.288 MB / 1.128 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.5255, allocations: 0.578 MB / 1.129 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.5257, allocations: 101.6 kB / 1.129 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5258, allocations: 43.06 kB / 1.129 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.614e-06/0.5258, allocations: 0 / 1.129 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.005672/0.5314, allocations: 3.424 MB / 1.132 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.5315, allocations: 115.5 kB / 1.133 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5329, allocations: 1.022 MB / 1.134 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.533, allocations: 33.7 kB / 1.134 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/0.5337, allocations: 1.103 MB / 1.135 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.5339, allocations: 272.2 kB / 1.135 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.5343, allocations: 279.2 kB / 1.135 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.5345, allocations: 410.7 kB / 1.136 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.5354, allocations: 0.6129 MB / 1.136 GB, free: 484 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.5368, allocations: 1.193 MB / 1.137 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.5391, allocations: 1.864 MB / 1.139 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5391, allocations: 12 kB / 1.139 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003208/0.5423, allocations: 2.014 MB / 1.141 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.5424, allocations: 12 kB / 1.141 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.5424, allocations: 20.66 kB / 1.141 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.5428, allocations: 167.3 kB / 1.141 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.5439, allocations: 339.4 kB / 1.142 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/0.544, allocations: 39.84 kB / 1.142 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.545, allocations: 135.7 kB / 1.142 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.5451, allocations: 67.98 kB / 1.142 GB, free: 10.06 MB / 0.9044 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.0015/0.5466, allocations: 0.981 MB / 1.143 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.5468, allocations: 114.6 kB / 1.143 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.5489, allocations: 1.23 MB / 1.144 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5489, allocations: 11.94 kB / 1.144 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5489, allocations: 0 / 1.144 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5489, allocations: 3.984 kB / 1.144 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005598/0.5545, allocations: 3.804 MB / 1.148 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5546, allocations: 7.938 kB / 1.148 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.5552, allocations: 163.8 kB / 1.148 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003658/0.5556, allocations: 143.6 kB / 1.148 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.5556, allocations: 16 kB / 1.148 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.5556, allocations: 7.938 kB / 1.148 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.5556, allocations: 7.984 kB / 1.148 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.5577, allocations: 1.468 MB / 1.15 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.5582, allocations: 271.7 kB / 1.15 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5583, allocations: 19.98 kB / 1.15 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.5589, allocations: 71.91 kB / 1.15 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.559, allocations: 64.36 kB / 1.15 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.5591, allocations: 20 kB / 1.15 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00096/0.56, allocations: 0.6953 MB / 1.151 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5601, allocations: 0 / 1.151 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001425/0.5615, allocations: 388 kB / 1.151 GB, free: 328 kB / 0.9044 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.0002163/0.5617, allocations: 135 kB / 1.151 GB, free: 184 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.5642, allocations: 1.707 MB / 1.153 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5642, allocations: 384 / 1.153 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.5652, allocations: 0.8659 MB / 1.154 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5666, allocations: 241.9 kB / 1.154 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.574, allocations: 4.815 MB / 1.159 GB, free: 8.312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.5758, allocations: 1.924 MB / 1.161 GB, free: 6.355 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001279/0.5771, allocations: 453.6 kB / 1.161 GB, free: 5.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5774, allocations: 87.42 kB / 1.161 GB, free: 5.828 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.5774, allocations: 0 / 1.161 GB, free: 5.828 MB / 0.92 GB Notification: Performance of Templates: time 0.02615/0.6035, allocations: 12.85 MB / 1.174 GB, free: 9.117 MB / 0.9356 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