Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001582/0.001582, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 74.09 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.7301, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01346/0.7436, allocations: 11.1 MB / 1.094 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.7537, allocations: 5.781 MB / 1.099 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.7551, allocations: 53.38 kB / 1.099 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004355/0.7595, allocations: 1.727 MB / 1.101 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.7633, allocations: 1.148 MB / 1.102 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.7659, allocations: 0.8203 MB / 1.103 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.769, allocations: 2.11 MB / 1.105 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.7708, allocations: 1.322 MB / 1.106 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.7724, allocations: 0.8452 MB / 1.107 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.7736, allocations: 0.9027 MB / 1.108 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.7738, allocations: 113.9 kB / 1.108 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.7763, allocations: 1.175 MB / 1.109 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.7769, allocations: 0.5232 MB / 1.11 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.7778, allocations: 0.7893 MB / 1.111 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.7814, allocations: 2.394 MB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7814, allocations: 0 / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7814, allocations: 3.938 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.639e-05/0.7815, allocations: 1.406 kB / 1.113 GB, free: 15.81 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003408/0.7849, allocations: 1.858 MB / 1.115 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.785, allocations: 9.062 kB / 1.115 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/0.7896, allocations: 0.6714 MB / 1.115 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.7914, allocations: 0.9085 MB / 1.116 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/0.7915, allocations: 98.55 kB / 1.116 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.7917, allocations: 126.4 kB / 1.117 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.7952, allocations: 2.209 MB / 1.119 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.7953, allocations: 13.05 kB / 1.119 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.7954, allocations: 65.8 kB / 1.119 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.7956, allocations: 161.9 kB / 1.119 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.7988, allocations: 1.873 MB / 1.121 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.8118, allocations: 12.48 MB / 1.133 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.816, allocations: 1.965 MB / 1.135 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.8169, allocations: 0.6148 MB / 1.136 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.8171, allocations: 101.1 kB / 1.136 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.8171, allocations: 43.5 kB / 1.136 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 2.956e-06/0.8171, allocations: 0 / 1.136 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006241/0.8234, allocations: 3.706 MB / 1.139 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.8234, allocations: 63.28 kB / 1.139 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.8246, allocations: 0.9263 MB / 1.14 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.8247, allocations: 41.55 kB / 1.14 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.8252, allocations: 0.7265 MB / 1.141 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.8255, allocations: 379.3 kB / 1.141 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.8259, allocations: 294.3 kB / 1.142 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8261, allocations: 301.1 kB / 1.142 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008849/0.8269, allocations: 0.6093 MB / 1.142 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.8282, allocations: 1.115 MB / 1.144 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.8306, allocations: 1.831 MB / 1.145 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.8306, allocations: 3.875 kB / 1.145 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003418/0.834, allocations: 2.107 MB / 1.147 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.834, allocations: 11.44 kB / 1.147 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.8341, allocations: 16.09 kB / 1.147 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/0.8348, allocations: 258.5 kB / 1.148 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.8361, allocations: 371.8 kB / 1.148 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/0.8453, allocations: 11.59 MB / 1.159 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.8468, allocations: 124.7 kB / 1.159 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.8469, allocations: 75.2 kB / 1.16 GB, free: 10.81 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007453/0.8476, allocations: 405.8 kB / 1.16 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.8479, allocations: 127.5 kB / 1.16 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.8507, allocations: 1.69 MB / 1.162 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8507, allocations: 11.47 kB / 1.162 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.8507, allocations: 2.375 kB / 1.162 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.8507, allocations: 5.266 kB / 1.162 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.8558, allocations: 3.294 MB / 1.165 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.8558, allocations: 4.969 kB / 1.165 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.8566, allocations: 221.8 kB / 1.165 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/0.8574, allocations: 255.4 kB / 1.165 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.8574, allocations: 27.92 kB / 1.165 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009682/0.8671, allocations: 11.57 MB / 1.177 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8672, allocations: 7.938 kB / 1.177 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.8701, allocations: 1.796 MB / 1.179 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/0.8707, allocations: 311.3 kB / 1.179 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.8709, allocations: 31.98 kB / 1.179 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.8716, allocations: 87.88 kB / 1.179 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.8718, allocations: 104.6 kB / 1.179 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.8718, allocations: 28 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008364/0.8727, allocations: 0.6255 MB / 1.18 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8727, allocations: 0 / 1.18 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001491/0.8742, allocations: 388 kB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.8744, allocations: 143.5 kB / 1.18 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004481/0.8789, allocations: 2.879 MB / 1.183 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8789, allocations: 4 kB / 1.183 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.8811, allocations: 1.618 MB / 1.185 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.8829, allocations: 361.7 kB / 1.185 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.8877, allocations: 2.886 MB / 1.188 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.8888, allocations: 1.327 MB / 1.189 GB, free: 13.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.8892, allocations: 115.4 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of SimCode: time 6.81e-07/0.8892, allocations: 0 / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of Templates: time 0.06586/0.9551, allocations: 59.16 MB / 1.247 GB, free: 2.023 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches