Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.007811/0.007811, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.00134/0.00134, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.64 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3533, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0191/0.3724, allocations: 16 MB / 1.104 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009482/0.382, allocations: 4.824 MB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.3839, allocations: 71.62 kB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.3871, allocations: 1.052 MB / 1.109 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.3898, allocations: 0.7737 MB / 1.11 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.3925, allocations: 0.9148 MB / 1.111 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.3971, allocations: 3.614 MB / 1.115 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006739/0.4039, allocations: 4.773 MB / 1.119 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4068, allocations: 1.597 MB / 1.121 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.4103, allocations: 1.78 MB / 1.123 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.4116, allocations: 340 kB / 1.123 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.414, allocations: 0.7919 MB / 1.124 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.4157, allocations: 1.326 MB / 1.125 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.4176, allocations: 1.459 MB / 1.126 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.4232, allocations: 5.144 MB / 1.131 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4232, allocations: 0 / 1.131 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.847e-06/0.4232, allocations: 4 kB / 1.131 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000104/0.4233, allocations: 0 / 1.131 GB, free: 4.883 MB / 0.8887 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.005509/0.4289, allocations: 2.713 MB / 1.134 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4289, allocations: 12.03 kB / 1.134 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/0.4329, allocations: 0.8421 MB / 1.135 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.436, allocations: 1.576 MB / 1.136 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.4361, allocations: 181 kB / 1.137 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.4365, allocations: 232.3 kB / 1.137 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006732/0.4433, allocations: 4.158 MB / 1.141 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.4433, allocations: 7.984 kB / 1.141 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.4436, allocations: 104 kB / 1.141 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.4438, allocations: 168.5 kB / 1.141 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005653/0.4495, allocations: 3.64 MB / 1.145 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.4682, allocations: 16.45 MB / 1.161 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.4715, allocations: 2.296 MB / 1.163 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.4724, allocations: 0.5785 MB / 1.164 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.4725, allocations: 97.66 kB / 1.164 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4725, allocations: 43.12 kB / 1.164 GB, free: 1.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.4725, allocations: 0 / 1.164 GB, free: 1.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.005283/0.4778, allocations: 3.499 MB / 1.167 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.4779, allocations: 115.4 kB / 1.167 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.4792, allocations: 1.022 MB / 1.168 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.4792, allocations: 37.7 kB / 1.168 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/0.48, allocations: 1.142 MB / 1.169 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.4802, allocations: 289.6 kB / 1.17 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.4806, allocations: 275.4 kB / 1.17 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4807, allocations: 414.7 kB / 1.17 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008544/0.4816, allocations: 0.6167 MB / 1.171 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4828, allocations: 1.182 MB / 1.172 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.485, allocations: 1.868 MB / 1.174 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.485, allocations: 8 kB / 1.174 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002951/0.488, allocations: 2.023 MB / 1.176 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.488, allocations: 12 kB / 1.176 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.4881, allocations: 20 kB / 1.176 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.4885, allocations: 167.9 kB / 1.176 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4896, allocations: 343.4 kB / 1.176 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.59e-05/0.4896, allocations: 43.8 kB / 1.176 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.4906, allocations: 127.7 kB / 1.177 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4907, allocations: 67.98 kB / 1.177 GB, free: 3.891 MB / 0.9356 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.001462/0.4921, allocations: 0.9824 MB / 1.178 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.4923, allocations: 119.2 kB / 1.178 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.4943, allocations: 1.234 MB / 1.179 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4943, allocations: 11.94 kB / 1.179 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4943, allocations: 4 kB / 1.179 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4943, allocations: 7.922 kB / 1.179 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.5001, allocations: 3.798 MB / 1.183 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5001, allocations: 0 / 1.183 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.5007, allocations: 159.8 kB / 1.183 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.501, allocations: 147.5 kB / 1.183 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.5011, allocations: 16 kB / 1.183 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.5011, allocations: 7.938 kB / 1.183 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5011, allocations: 4 kB / 1.183 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.5031, allocations: 1.474 MB / 1.184 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.5036, allocations: 272.4 kB / 1.185 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5038, allocations: 19.95 kB / 1.185 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.5044, allocations: 63.91 kB / 1.185 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5045, allocations: 60.36 kB / 1.185 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.5046, allocations: 28 kB / 1.185 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009159/0.5055, allocations: 0.6992 MB / 1.185 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5055, allocations: 0 / 1.185 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001503/0.507, allocations: 388 kB / 1.186 GB, free: 10.14 MB / 0.9512 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.0002359/0.5073, allocations: 131 kB / 1.186 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.5098, allocations: 1.719 MB / 1.188 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5098, allocations: 0 / 1.188 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009643/0.5107, allocations: 0.8626 MB / 1.188 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5122, allocations: 265.6 kB / 1.189 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.5188, allocations: 3.826 MB / 1.192 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.5208, allocations: 1.916 MB / 1.194 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009951/0.5218, allocations: 453.4 kB / 1.195 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.522, allocations: 87.42 kB / 1.195 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.522, allocations: 0 / 1.195 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of Templates: time 0.02474/0.5468, allocations: 13.65 MB / 1.208 GB, free: 3.109 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches