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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001131/0.001131, allocations: 92.16 kB / 16.02 MB, free: 80 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.001593/0.001593, allocations: 173 kB / 16.92 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 9 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3323, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01251/0.3449, allocations: 10.54 MB / 1.07 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009476/0.3544, allocations: 5.77 MB / 1.075 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3558, allocations: 43.62 kB / 1.075 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3569, allocations: 242 kB / 1.076 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.3603, allocations: 1.074 MB / 1.077 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.3625, allocations: 0.748 MB / 1.077 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.3664, allocations: 2.856 MB / 1.08 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004322/0.3707, allocations: 2.334 MB / 1.082 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3721, allocations: 0.6921 MB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.3737, allocations: 0.8557 MB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.374, allocations: 60 kB / 1.084 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.377, allocations: 1.438 MB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006577/0.3777, allocations: 470.5 kB / 1.086 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.3789, allocations: 0.728 MB / 1.087 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.3817, allocations: 1.843 MB / 1.088 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3817, allocations: 0 / 1.088 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3817, allocations: 4 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.238e-05/0.3818, allocations: 0 / 1.088 GB, free: 7.172 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.003274/0.3851, allocations: 1.599 MB / 1.09 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3851, allocations: 11.97 kB / 1.09 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.39, allocations: 0.6854 MB / 1.091 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.3916, allocations: 0.9106 MB / 1.091 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.3917, allocations: 94.91 kB / 1.092 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.392, allocations: 128.2 kB / 1.092 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.3954, allocations: 2.214 MB / 1.094 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.3954, allocations: 15.88 kB / 1.094 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.3956, allocations: 55.98 kB / 1.094 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.3958, allocations: 162.3 kB / 1.094 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.3985, allocations: 1.863 MB / 1.096 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.4101, allocations: 12.49 MB / 1.108 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.4144, allocations: 1.969 MB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/0.4153, allocations: 0.6011 MB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.4155, allocations: 106.1 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4155, allocations: 43.56 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.206e-06/0.4155, allocations: 0 / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006773/0.4223, allocations: 3.718 MB / 1.114 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4224, allocations: 60.41 kB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.4238, allocations: 0.9282 MB / 1.115 GB, free: 10 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4239, allocations: 41.7 kB / 1.115 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.4245, allocations: 0.7314 MB / 1.116 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/0.4249, allocations: 386.6 kB / 1.116 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.4251, allocations: 117.7 kB / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4253, allocations: 305.1 kB / 1.117 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4263, allocations: 0.609 MB / 1.117 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.4276, allocations: 1.109 MB / 1.119 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.43, allocations: 1.832 MB / 1.12 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.43, allocations: 4 kB / 1.12 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003737/0.4338, allocations: 2.104 MB / 1.122 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.4339, allocations: 12 kB / 1.122 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.4339, allocations: 16 kB / 1.122 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000861/0.4348, allocations: 255 kB / 1.123 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4361, allocations: 375.4 kB / 1.123 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008681/0.4448, allocations: 10.76 MB / 1.133 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4462, allocations: 131.8 kB / 1.134 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.4464, allocations: 72.14 kB / 1.134 GB, free: 5.594 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.0008082/0.4472, allocations: 405.2 kB / 1.134 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.4475, allocations: 126.5 kB / 1.134 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.4506, allocations: 1.681 MB / 1.136 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4506, allocations: 20 kB / 1.136 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.4506, allocations: 0 / 1.136 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4507, allocations: 7.922 kB / 1.136 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.4561, allocations: 3.291 MB / 1.139 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.4561, allocations: 7.938 kB / 1.139 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/0.457, allocations: 228.3 kB / 1.139 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.4578, allocations: 242.6 kB / 1.14 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.4579, allocations: 35.98 kB / 1.14 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008438/0.4663, allocations: 10.75 MB / 1.15 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.4664, allocations: 11.94 kB / 1.15 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.4695, allocations: 1.796 MB / 1.152 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.4701, allocations: 327.2 kB / 1.152 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.4704, allocations: 28 kB / 1.152 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/0.4713, allocations: 95.8 kB / 1.152 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.4715, allocations: 100.7 kB / 1.152 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.4716, allocations: 28 kB / 1.152 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009389/0.4725, allocations: 0.6216 MB / 1.153 GB, free: 416 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4725, allocations: 4 kB / 1.153 GB, free: 412 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001552/0.4741, allocations: 388 kB / 1.153 GB, free: 24 kB / 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.0002962/0.4744, allocations: 139 kB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003814/0.4782, allocations: 2.496 MB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4783, allocations: 0 / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.4805, allocations: 1.634 MB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.4832, allocations: 332.4 kB / 1.158 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.4888, allocations: 3.494 MB / 1.161 GB, free: 7.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4902, allocations: 1.327 MB / 1.163 GB, free: 6.266 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.4908, allocations: 115.4 kB / 1.163 GB, free: 6.152 MB / 0.92 GB Notification: Performance of SimCode: time 1.333e-06/0.4908, allocations: 0 / 1.163 GB, free: 6.152 MB / 0.92 GB Notification: Performance of Templates: time 0.06575/0.5565, allocations: 58.98 MB / 1.22 GB, free: 11.15 MB / 0.9825 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/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