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 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.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.0007954/0.0007954, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001092/0.001092, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.412/1.412, 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.835/2.835, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 12.88 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3995, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01372/0.4133, allocations: 10.55 MB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.4245, allocations: 5.774 MB / 1.075 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.4264, allocations: 43.62 kB / 1.075 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.4273, allocations: 245.9 kB / 1.075 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.4314, allocations: 1.062 MB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.4341, allocations: 0.7474 MB / 1.077 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00366/0.4378, allocations: 2.852 MB / 1.079 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.4423, allocations: 2.348 MB / 1.082 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.444, allocations: 0.696 MB / 1.082 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4455, allocations: 0.8558 MB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.4457, allocations: 56 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.4486, allocations: 1.435 MB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006931/0.4493, allocations: 474.5 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.4503, allocations: 0.7202 MB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.4538, allocations: 2.421 MB / 1.088 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4538, allocations: 0 / 1.088 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4538, allocations: 0 / 1.088 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.4539, allocations: 0 / 1.088 GB, free: 7.062 MB / 0.8419 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.00262/0.4565, allocations: 1.608 MB / 1.09 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4565, allocations: 8.031 kB / 1.09 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.461, allocations: 0.6738 MB / 1.09 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.4628, allocations: 0.9146 MB / 1.091 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.4629, allocations: 90.91 kB / 1.091 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.4631, allocations: 128.2 kB / 1.092 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.4666, allocations: 2.218 MB / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.4667, allocations: 7.938 kB / 1.094 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4668, allocations: 51.98 kB / 1.094 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/0.4671, allocations: 166.3 kB / 1.094 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.4701, allocations: 1.867 MB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.4835, allocations: 12.48 MB / 1.108 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.488, allocations: 1.964 MB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009026/0.4889, allocations: 0.6089 MB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.4891, allocations: 98.09 kB / 1.111 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4891, allocations: 47.5 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.978e-06/0.4891, allocations: 4 kB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006528/0.4957, allocations: 3.722 MB / 1.114 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.4959, allocations: 64.41 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.497, allocations: 0.9165 MB / 1.115 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.4971, allocations: 53.64 kB / 1.115 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005583/0.4976, allocations: 0.7275 MB / 1.116 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.498, allocations: 390.5 kB / 1.116 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.4981, allocations: 121.6 kB / 1.116 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.4984, allocations: 305.1 kB / 1.117 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/0.4994, allocations: 0.609 MB / 1.117 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.5009, allocations: 1.106 MB / 1.118 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.5033, allocations: 1.828 MB / 1.12 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5033, allocations: 8 kB / 1.12 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004182/0.5075, allocations: 2.104 MB / 1.122 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.5076, allocations: 15.94 kB / 1.122 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.5076, allocations: 12 kB / 1.122 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009141/0.5085, allocations: 263 kB / 1.123 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5099, allocations: 371.4 kB / 1.123 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.522, allocations: 10.77 MB / 1.133 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.524, allocations: 132 kB / 1.134 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5241, allocations: 71.98 kB / 1.134 GB, free: 5.477 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.0009455/0.5251, allocations: 398.7 kB / 1.134 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.5253, allocations: 134.5 kB / 1.134 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.5288, allocations: 1.685 MB / 1.136 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.5288, allocations: 12 kB / 1.136 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5288, allocations: 4 kB / 1.136 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5288, allocations: 3.984 kB / 1.136 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/0.5342, allocations: 3.291 MB / 1.139 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.5342, allocations: 8.688 kB / 1.139 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008682/0.5351, allocations: 219.6 kB / 1.139 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.5358, allocations: 246.6 kB / 1.139 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.5359, allocations: 24 kB / 1.139 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009499/0.5454, allocations: 10.74 MB / 1.15 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.5454, allocations: 4 kB / 1.15 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.5486, allocations: 1.803 MB / 1.152 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.5492, allocations: 331.2 kB / 1.152 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5493, allocations: 20 kB / 1.152 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.55, allocations: 103.8 kB / 1.152 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.5502, allocations: 92.77 kB / 1.152 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.5503, allocations: 36 kB / 1.152 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008283/0.5511, allocations: 0.6177 MB / 1.153 GB, free: 324 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5511, allocations: 0 / 1.153 GB, free: 324 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001472/0.5526, allocations: 396 kB / 1.153 GB, free: 15.93 MB / 0.92 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.0002479/0.5528, allocations: 146.9 kB / 1.153 GB, free: 15.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003458/0.5563, allocations: 2.485 MB / 1.156 GB, free: 13.19 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5563, allocations: 4.875 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.5584, allocations: 1.633 MB / 1.157 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.5607, allocations: 333.9 kB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.5658, allocations: 3.391 MB / 1.161 GB, free: 7.637 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.5668, allocations: 1.327 MB / 1.162 GB, free: 6.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001027/0.5679, allocations: 363.3 kB / 1.163 GB, free: 5.918 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.5681, allocations: 99.41 kB / 1.163 GB, free: 5.82 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/0.5682, allocations: 0 / 1.163 GB, free: 5.82 MB / 0.92 GB Notification: Performance of Templates: time 0.02956/0.5977, allocations: 16.21 MB / 1.179 GB, free: 5.754 MB / 0.9356 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=480 -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/jenkins/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