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.001425/0.001425, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001533/0.001533, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.19 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.5959/0.9401, allocations: 20.41 MB / 1.084 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.9536, allocations: 7.699 MB / 1.092 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.9558, allocations: 60.38 kB / 1.092 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.9593, allocations: 1.349 MB / 1.093 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.9623, allocations: 1.001 MB / 1.094 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005235/0.9675, allocations: 1.993 MB / 1.096 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005691/0.9732, allocations: 4.324 MB / 1.1 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008342/0.9816, allocations: 6.257 MB / 1.106 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.9849, allocations: 1.838 MB / 1.108 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.9884, allocations: 2.196 MB / 1.11 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009014/0.9894, allocations: 427.8 kB / 1.111 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.9916, allocations: 0.9405 MB / 1.112 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.9936, allocations: 1.657 MB / 1.113 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.9958, allocations: 1.721 MB / 1.115 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009678/1.006, allocations: 6.142 MB / 1.121 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.006, allocations: 0.9062 kB / 1.121 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/1.006, allocations: 4 kB / 1.121 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001816/1.006, allocations: 0 / 1.121 GB, free: 14.1 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009834/1.016, allocations: 3.052 MB / 1.124 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.016, allocations: 9.469 kB / 1.124 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/1.02, allocations: 0.7505 MB / 1.125 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/1.024, allocations: 1.536 MB / 1.126 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/1.024, allocations: 219.7 kB / 1.126 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/1.024, allocations: 291.4 kB / 1.127 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/1.036, allocations: 5.075 MB / 1.132 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.078e-05/1.036, allocations: 11.81 kB / 1.132 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/1.036, allocations: 120 kB / 1.132 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002868/1.036, allocations: 205.2 kB / 1.132 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008493/1.045, allocations: 4.228 MB / 1.136 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/1.078, allocations: 23.08 MB / 1.159 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/1.082, allocations: 1.733 MB / 1.16 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/1.084, allocations: 1.151 MB / 1.161 GB, free: 492 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/1.084, allocations: 94.88 kB / 1.161 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.084, allocations: 47.7 kB / 1.161 GB, free: 340 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.938e-06/1.084, allocations: 4 kB / 1.161 GB, free: 336 kB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.009048/1.093, allocations: 4.01 MB / 1.165 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/1.093, allocations: 147.3 kB / 1.166 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.095, allocations: 0.864 MB / 1.166 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.095, allocations: 40.92 kB / 1.166 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008604/1.096, allocations: 1.16 MB / 1.168 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/1.096, allocations: 305.7 kB / 1.168 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/1.097, allocations: 279.8 kB / 1.168 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002314/1.097, allocations: 411.2 kB / 1.169 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.098, allocations: 0.8213 MB / 1.169 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/1.1, allocations: 1.321 MB / 1.171 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/1.103, allocations: 2.162 MB / 1.173 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.103, allocations: 1.594 kB / 1.173 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003812/1.107, allocations: 2.215 MB / 1.175 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.107, allocations: 8 kB / 1.175 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.107, allocations: 16 kB / 1.175 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/1.107, allocations: 20 kB / 1.175 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.109, allocations: 415.2 kB / 1.175 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-05/1.109, allocations: 32.17 kB / 1.175 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.11, allocations: 211.3 kB / 1.176 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.11, allocations: 63.98 kB / 1.176 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003062/1.114, allocations: 1.685 MB / 1.177 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001487/1.115, allocations: 1.186 MB / 1.178 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002511/1.118, allocations: 1.906 MB / 1.18 GB, free: 396 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.641e-05/1.118, allocations: 11.94 kB / 1.18 GB, free: 384 kB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003292/1.121, allocations: 1.925 MB / 1.182 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.121, allocations: 13.56 kB / 1.182 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.121, allocations: 12 kB / 1.182 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.121, allocations: 24.78 kB / 1.182 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.122, allocations: 363.4 kB / 1.183 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/1.122, allocations: 35.86 kB / 1.183 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.124, allocations: 175.3 kB / 1.183 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.124, allocations: 63.98 kB / 1.183 GB, free: 13.77 MB / 0.9044 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.0004213/1.125, allocations: 263.8 kB / 1.183 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/1.125, allocations: 102.8 kB / 1.183 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/1.128, allocations: 1.846 MB / 1.185 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.128, allocations: 12 kB / 1.185 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.128, allocations: 4 kB / 1.185 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.128, allocations: 3.984 kB / 1.185 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.142, allocations: 9.588 MB / 1.194 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/1.143, allocations: 12 kB / 1.194 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.144, allocations: 308.3 kB / 1.195 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.965e-05/1.144, allocations: 16 kB / 1.195 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.144, allocations: 32 kB / 1.195 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-05/1.144, allocations: 27.86 kB / 1.195 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/1.144, allocations: 20.06 kB / 1.195 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/1.147, allocations: 2.406 MB / 1.197 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/1.148, allocations: 375.5 kB / 1.197 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.148, allocations: 35.94 kB / 1.198 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.149, allocations: 143.7 kB / 1.198 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.15, allocations: 91.84 kB / 1.198 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/1.15, allocations: 44 kB / 1.198 GB, free: 14.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001075/1.151, allocations: 0.6122 MB / 1.198 GB, free: 13.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/1.151, allocations: 0 / 1.198 GB, free: 13.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003646/1.154, allocations: 0.7539 MB / 1.199 GB, free: 12.66 MB / 0.92 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.0002913/1.155, allocations: 147.4 kB / 1.199 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004872/1.16, allocations: 3.049 MB / 1.202 GB, free: 9.461 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.16, allocations: 0 / 1.202 GB, free: 9.461 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.161, allocations: 0.9113 MB / 1.203 GB, free: 8.551 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.163, allocations: 317.3 kB / 1.203 GB, free: 8.258 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.174, allocations: 5.475 MB / 1.209 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/1.177, allocations: 2.191 MB / 1.211 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.177, allocations: 95.41 kB / 1.211 GB, free: 276 kB / 0.92 GB Notification: Performance of SimCode: time 9.11e-07/1.177, allocations: 0 / 1.211 GB, free: 276 kB / 0.92 GB Notification: Performance of Templates: time 0.04249/1.22, allocations: 28.08 MB / 1.238 GB, free: 4.273 MB / 0.9512 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/jenkins1/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