Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009139, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005189/0.005189, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 13.16 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02278/0.4005, allocations: 19.65 MB / 1.078 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.4138, allocations: 7.655 MB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.4155, allocations: 47.81 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4166, allocations: 369.2 kB / 1.086 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.4194, allocations: 0.9458 MB / 1.087 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.423, allocations: 1.32 MB / 1.088 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.43, allocations: 6.437 MB / 1.094 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.4412, allocations: 7.527 MB / 1.102 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.4441, allocations: 1.253 MB / 1.103 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004124/0.4483, allocations: 1.877 MB / 1.105 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.4488, allocations: 176 kB / 1.105 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.4506, allocations: 0.8579 MB / 1.106 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.452, allocations: 1.341 MB / 1.107 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.4536, allocations: 1.374 MB / 1.108 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.4593, allocations: 5.888 MB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4593, allocations: 3.984 kB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4593, allocations: 0 / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001015/0.4594, allocations: 0 / 1.114 GB, free: 12.5 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004923/0.4643, allocations: 2.444 MB / 1.116 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4644, allocations: 15.97 kB / 1.116 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.4682, allocations: 0.7468 MB / 1.117 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.4711, allocations: 1.536 MB / 1.119 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.4712, allocations: 218.1 kB / 1.119 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005754/0.4718, allocations: 284.4 kB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008813/0.4806, allocations: 5.094 MB / 1.124 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.4807, allocations: 11.84 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.4811, allocations: 128 kB / 1.124 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.4813, allocations: 204.6 kB / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/0.4888, allocations: 4.232 MB / 1.129 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/0.5174, allocations: 23.09 MB / 1.151 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.5209, allocations: 1.742 MB / 1.153 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.5227, allocations: 1.132 MB / 1.154 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.5229, allocations: 105.7 kB / 1.154 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.523, allocations: 47.22 kB / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.523, allocations: 0 / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.007889/0.5309, allocations: 4.02 MB / 1.158 GB, free: 12.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.531, allocations: 137.2 kB / 1.158 GB, free: 12.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.5325, allocations: 0.8759 MB / 1.159 GB, free: 11.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.5327, allocations: 41.7 kB / 1.159 GB, free: 11.81 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009925/0.5337, allocations: 1.166 MB / 1.16 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.5341, allocations: 307.6 kB / 1.16 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.5343, allocations: 105.7 kB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.5345, allocations: 406.7 kB / 1.161 GB, free: 9.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.5361, allocations: 0.8223 MB / 1.162 GB, free: 8.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.538, allocations: 1.31 MB / 1.163 GB, free: 7.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.5416, allocations: 2.175 MB / 1.165 GB, free: 5.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.5416, allocations: 8 kB / 1.165 GB, free: 5.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004466/0.5461, allocations: 2.226 MB / 1.167 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006661/0.5468, allocations: 0.4951 MB / 1.168 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/0.5468, allocations: 16 kB / 1.168 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/0.5469, allocations: 20 kB / 1.168 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.5487, allocations: 419.3 kB / 1.168 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.534e-05/0.5488, allocations: 23.94 kB / 1.168 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5504, allocations: 227.2 kB / 1.169 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.5506, allocations: 67.92 kB / 1.169 GB, free: 1.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5506, allocations: 5.562 kB / 1.169 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00347/0.5541, allocations: 1.8 MB / 1.17 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.5542, allocations: 19.98 kB / 1.17 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.5542, allocations: 24.12 kB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.5557, allocations: 363.4 kB / 1.171 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-05/0.5558, allocations: 35.86 kB / 1.171 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.557, allocations: 159.4 kB / 1.171 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.5571, allocations: 55.98 kB / 1.171 GB, free: 14.94 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002162/0.5593, allocations: 1.172 MB / 1.172 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.5597, allocations: 106.9 kB / 1.172 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.5632, allocations: 1.866 MB / 1.174 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5632, allocations: 8 kB / 1.174 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5632, allocations: 4 kB / 1.174 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5632, allocations: 3.984 kB / 1.174 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.5795, allocations: 9.6 MB / 1.183 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.5796, allocations: 12 kB / 1.183 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.5809, allocations: 319.5 kB / 1.184 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.35e-05/0.581, allocations: 24.47 kB / 1.184 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.5811, allocations: 32 kB / 1.184 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.919e-05/0.5812, allocations: 19.94 kB / 1.184 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/0.5812, allocations: 27.86 kB / 1.184 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/0.5851, allocations: 2.409 MB / 1.186 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/0.5861, allocations: 391.5 kB / 1.187 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.5865, allocations: 31.98 kB / 1.187 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.5877, allocations: 143.8 kB / 1.187 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.588, allocations: 95.61 kB / 1.187 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.5881, allocations: 32 kB / 1.187 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001117/0.5893, allocations: 0.6122 MB / 1.187 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5893, allocations: 0 / 1.187 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003369/0.5926, allocations: 0.7578 MB / 1.188 GB, free: 12.85 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.5929, allocations: 154.9 kB / 1.188 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004978/0.5979, allocations: 2.87 MB / 1.191 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.598, allocations: 8.062 kB / 1.191 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.5995, allocations: 0.9195 MB / 1.192 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.6029, allocations: 282.4 kB / 1.192 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/0.613, allocations: 6.216 MB / 1.198 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/0.6157, allocations: 2.124 MB / 1.2 GB, free: 72 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002426/0.6181, allocations: 0.7578 MB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.6186, allocations: 83.41 kB / 1.201 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of SimCode: time 1.272e-06/0.6187, allocations: 0 / 1.201 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.03567/0.6543, allocations: 17.02 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches