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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 195.9 kB / 16.53 MB, free: 6.672 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7452 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 64.2 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.485, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0156/0.5007, allocations: 11.09 MB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009841/0.5106, allocations: 5.8 MB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.5127, allocations: 55.62 kB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.5177, allocations: 1.727 MB / 1.086 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.5215, allocations: 1.143 MB / 1.088 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5239, allocations: 0.812 MB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.5267, allocations: 2.127 MB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.5283, allocations: 1.315 MB / 1.092 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.5296, allocations: 0.8407 MB / 1.093 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5307, allocations: 0.9065 MB / 1.093 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.5309, allocations: 116 kB / 1.094 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.5331, allocations: 1.173 MB / 1.095 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.5336, allocations: 0.5258 MB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.5344, allocations: 0.7849 MB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.5372, allocations: 2.387 MB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5372, allocations: 0 / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5372, allocations: 0 / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.5372, allocations: 0 / 1.098 GB, free: 11.46 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.002812/0.5401, allocations: 1.873 MB / 1.1 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5401, allocations: 12.03 kB / 1.1 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.5445, allocations: 0.6659 MB / 1.101 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.546, allocations: 0.9223 MB / 1.102 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.546, allocations: 94.89 kB / 1.102 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.5462, allocations: 124.3 kB / 1.102 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.5492, allocations: 2.206 MB / 1.104 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.5493, allocations: 11.88 kB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.5494, allocations: 67.91 kB / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.5496, allocations: 158.3 kB / 1.104 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.5525, allocations: 1.871 MB / 1.106 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.5644, allocations: 12.47 MB / 1.118 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/0.5687, allocations: 1.984 MB / 1.12 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.5696, allocations: 0.605 MB / 1.121 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.5697, allocations: 102.1 kB / 1.121 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5698, allocations: 43.5 kB / 1.121 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.086e-06/0.5698, allocations: 0 / 1.121 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006491/0.5763, allocations: 3.71 MB / 1.125 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.5764, allocations: 64.41 kB / 1.125 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.5775, allocations: 0.9281 MB / 1.126 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.5776, allocations: 45.7 kB / 1.126 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.5781, allocations: 0.7236 MB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.5784, allocations: 386.5 kB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.5788, allocations: 283.2 kB / 1.127 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5789, allocations: 301.1 kB / 1.127 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.5798, allocations: 0.6129 MB / 1.128 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.5811, allocations: 1.113 MB / 1.129 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.5834, allocations: 1.828 MB / 1.131 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5834, allocations: 8 kB / 1.131 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003392/0.5868, allocations: 2.096 MB / 1.133 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.5868, allocations: 13.88 kB / 1.133 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.5869, allocations: 16 kB / 1.133 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008855/0.5878, allocations: 263.2 kB / 1.133 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5891, allocations: 375.4 kB / 1.133 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.5983, allocations: 11.58 MB / 1.145 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5998, allocations: 132 kB / 1.145 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5999, allocations: 71.92 kB / 1.145 GB, free: 8.59 MB / 0.9044 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.000692/0.6006, allocations: 401.2 kB / 1.145 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.6008, allocations: 134.5 kB / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.6035, allocations: 1.677 MB / 1.147 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6035, allocations: 12 kB / 1.147 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6035, allocations: 4 kB / 1.147 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.6036, allocations: 3.984 kB / 1.147 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004817/0.6084, allocations: 3.292 MB / 1.15 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6084, allocations: 4 kB / 1.15 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/0.6092, allocations: 227.7 kB / 1.15 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.6099, allocations: 238.7 kB / 1.151 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.61, allocations: 35.88 kB / 1.151 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008241/0.6182, allocations: 11.58 MB / 1.162 GB, free: 5.668 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.6183, allocations: 11.94 kB / 1.162 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.621, allocations: 1.796 MB / 1.164 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.6216, allocations: 303.4 kB / 1.164 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6217, allocations: 28 kB / 1.164 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.6224, allocations: 95.8 kB / 1.164 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.6226, allocations: 100.6 kB / 1.164 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.6227, allocations: 36 kB / 1.164 GB, free: 3.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007789/0.6235, allocations: 0.6216 MB / 1.165 GB, free: 2.551 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6235, allocations: 0 / 1.165 GB, free: 2.551 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001376/0.6249, allocations: 392 kB / 1.165 GB, free: 2.168 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.0002319/0.6251, allocations: 143.5 kB / 1.165 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004211/0.6293, allocations: 2.875 MB / 1.168 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6294, allocations: 0 / 1.168 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6313, allocations: 1.626 MB / 1.17 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.6329, allocations: 355.7 kB / 1.17 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.6371, allocations: 2.77 MB / 1.173 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/0.638, allocations: 1.331 MB / 1.174 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000972/0.639, allocations: 367.3 kB / 1.175 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.6392, allocations: 95.42 kB / 1.175 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.6392, allocations: 0 / 1.175 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.03171/0.6709, allocations: 17.07 MB / 1.191 GB, free: 7.367 MB / 0.9512 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