Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001477/0.001477, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.0016/0.0016, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8692, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01275/0.882, allocations: 11.1 MB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.8933, allocations: 5.781 MB / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.8955, allocations: 53.03 kB / 1.105 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005392/0.9009, allocations: 1.728 MB / 1.107 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.906, allocations: 1.186 MB / 1.108 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.9093, allocations: 0.8048 MB / 1.109 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00438/0.9137, allocations: 2.136 MB / 1.111 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.9166, allocations: 1.309 MB / 1.112 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.919, allocations: 0.8533 MB / 1.113 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.9214, allocations: 0.9111 MB / 1.114 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.9219, allocations: 117.8 kB / 1.114 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.9261, allocations: 1.179 MB / 1.115 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.9272, allocations: 0.5268 MB / 1.116 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.9291, allocations: 0.7858 MB / 1.116 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.9351, allocations: 2.42 MB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9351, allocations: 1.094 kB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9351, allocations: 0 / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.227e-05/0.9352, allocations: 0 / 1.119 GB, free: 3.633 MB / 0.8731 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.005439/0.9406, allocations: 1.866 MB / 1.121 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9407, allocations: 14.06 kB / 1.121 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.946, allocations: 0.6669 MB / 1.121 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.9488, allocations: 1.005 MB / 1.122 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.949, allocations: 96.8 kB / 1.122 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.9494, allocations: 133.6 kB / 1.122 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/0.9547, allocations: 2.207 MB / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-05/0.9548, allocations: 13.59 kB / 1.125 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.955, allocations: 61.69 kB / 1.125 GB, free: 348 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/0.9553, allocations: 161.6 kB / 1.125 GB, free: 328 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.9594, allocations: 1.866 MB / 1.127 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.9762, allocations: 12.43 MB / 1.139 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/0.9812, allocations: 1.98 MB / 1.141 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.9823, allocations: 0.609 MB / 1.141 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.9825, allocations: 96.62 kB / 1.141 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.9826, allocations: 47.62 kB / 1.141 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 3.847e-06/0.9826, allocations: 1.281 kB / 1.141 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.007246/0.9898, allocations: 3.71 MB / 1.145 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.9899, allocations: 68.02 kB / 1.145 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.9915, allocations: 0.9193 MB / 1.146 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.9916, allocations: 41.73 kB / 1.146 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.9923, allocations: 0.7318 MB / 1.147 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.9927, allocations: 386.7 kB / 1.147 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.9932, allocations: 286.3 kB / 1.147 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9933, allocations: 302.6 kB / 1.148 GB, free: 496 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.9945, allocations: 0.6156 MB / 1.148 GB, free: 284 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.9961, allocations: 1.107 MB / 1.149 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.9989, allocations: 1.829 MB / 1.151 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.9989, allocations: 5.094 kB / 1.151 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004246/1.003, allocations: 2.104 MB / 1.153 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.003, allocations: 12.75 kB / 1.153 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/1.003, allocations: 15.91 kB / 1.153 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/1.004, allocations: 254.9 kB / 1.154 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.006, allocations: 377.4 kB / 1.154 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009605/1.015, allocations: 11.59 MB / 1.165 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.017, allocations: 123.9 kB / 1.165 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/1.017, allocations: 70.08 kB / 1.165 GB, free: 1.793 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.000829/1.018, allocations: 410.9 kB / 1.166 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/1.018, allocations: 127.1 kB / 1.166 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/1.021, allocations: 1.686 MB / 1.168 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.021, allocations: 5.141 kB / 1.168 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.021, allocations: 0 / 1.168 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/1.022, allocations: 298.7 kB / 1.168 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/1.022, allocations: 21.53 kB / 1.168 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/1.023, allocations: 90.2 kB / 1.168 GB, free: 168 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.023, allocations: 72.86 kB / 1.168 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00333/1.026, allocations: 1.65 MB / 1.17 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00313/1.03, allocations: 2.088 MB / 1.172 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000911/1.03, allocations: 0.5705 MB / 1.172 GB, free: 13.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001105/1.032, allocations: 0.6202 MB / 1.173 GB, free: 13.45 MB / 0.92 GB Notification: Performance of Backend: time 3.91e-07/1.032, allocations: 1.219 kB / 1.173 GB, free: 13.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005874/1.037, allocations: 2.627 MB / 1.175 GB, free: 11.66 MB / 0.92 GB Notification: Performance of SimCode: time 0.004937/1.042, allocations: 2.976 MB / 1.178 GB, free: 9.746 MB / 0.92 GB Notification: Performance of Templates: time 0.03974/1.082, allocations: 25.29 MB / 1.203 GB, free: 5.848 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sen_Y.S[1],sen_Y.S[2],sen_D.S[1],sen_D.S[2],errorY,errorD Variables in the result:$cse1,$cse11,$cse13,$cse3,$cse5,$cse7,$cse9,RL_a.C,RL_a.CMax,RL_a.CMin,RL_a.C_internal,RL_a.L,RL_a.LMax,RL_a.LMin,RL_a.L_internal,RL_a.P_nominal,RL_a.R,RL_a.RMax,RL_a.RMin,RL_a.R_internal,RL_a.V_nominal,RL_a.inductive,RL_a.initMode,RL_a.linearized,RL_a.mode,RL_a.use_C_in,RL_a.use_L_in,RL_a.use_R_in,RL_ab.C,RL_ab.CMax,RL_ab.CMin,RL_ab.C_internal,RL_ab.L,RL_ab.LMax,RL_ab.LMin,RL_ab.L_internal,RL_ab.P_nominal,RL_ab.R,RL_ab.RMax,RL_ab.RMin,RL_ab.R_internal,RL_ab.V_nominal,RL_ab.inductive,RL_ab.initMode,RL_ab.linearized,RL_ab.mode,RL_ab.use_C_in,RL_ab.use_L_in,RL_ab.use_R_in,RL_b.C,RL_b.CMax,RL_b.CMin,RL_b.C_internal,RL_b.L,RL_b.LMax,RL_b.LMin,RL_b.L_internal,RL_b.P_nominal,RL_b.R,RL_b.RMax,RL_b.RMin,RL_b.R_internal,RL_b.V_nominal,RL_b.inductive,RL_b.initMode,RL_b.linearized,RL_b.mode,RL_b.use_C_in,RL_b.use_L_in,RL_b.use_R_in,RL_bc.C,RL_bc.CMax,RL_bc.CMin,RL_bc.C_internal,RL_bc.L,RL_bc.LMax,RL_bc.LMin,RL_bc.L_internal,RL_bc.P_nominal,RL_bc.R,RL_bc.RMax,RL_bc.RMin,RL_bc.R_internal,RL_bc.V_nominal,RL_bc.inductive,RL_bc.initMode,RL_bc.linearized,RL_bc.mode,RL_bc.use_C_in,RL_bc.use_L_in,RL_bc.use_R_in,RL_c.C,RL_c.CMax,RL_c.CMin,RL_c.C_internal,RL_c.L,RL_c.LMax,RL_c.LMin,RL_c.L_internal,RL_c.P_nominal,RL_c.R,RL_c.RMax,RL_c.RMin,RL_c.R_internal,RL_c.V_nominal,RL_c.inductive,RL_c.initMode,RL_c.linearized,RL_c.mode,RL_c.use_C_in,RL_c.use_L_in,RL_c.use_R_in,RL_c1.C,RL_c1.CMax,RL_c1.CMin,RL_c1.C_internal,RL_c1.L,RL_c1.LMax,RL_c1.LMin,RL_c1.L_internal,RL_c1.P_nominal,RL_c1.R,RL_c1.RMax,RL_c1.RMin,RL_c1.R_internal,RL_c1.V_nominal,RL_c1.inductive,RL_c1.initMode,RL_c1.linearized,RL_c1.mode,RL_c1.use_C_in,RL_c1.use_L_in,RL_c1.use_R_in,RL_star.C,RL_star.CMax,RL_star.CMin,RL_star.C_internal,RL_star.L,RL_star.LMax,RL_star.LMin,RL_star.L_internal,RL_star.P_nominal,RL_star.R,RL_star.RMax,RL_star.RMin,RL_star.R_internal,RL_star.V_nominal,RL_star.inductive,RL_star.initMode,RL_star.linearized,RL_star.mode,RL_star.star,RL_star.use_C_in,RL_star.use_L_in,RL_star.use_R_in,RL_tri.C,RL_tri.CMax,RL_tri.CMin,RL_tri.C_internal,RL_tri.L,RL_tri.LMax,RL_tri.LMin,RL_tri.L_internal,RL_tri.P_nominal,RL_tri.R,RL_tri.RMax,RL_tri.RMin,RL_tri.R_internal,RL_tri.V_nominal,RL_tri.inductive,RL_tri.initMode,RL_tri.linearized,RL_tri.mode,RL_tri.star,RL_tri.use_C_in,RL_tri.use_L_in,RL_tri.use_R_in,errorD,errorY,sen_D.S[1],sen_D.S[2],sen_Y.S[1],sen_Y.S[2],sou.V,sou.definiteReference,sou.f,sou.phiSou,sou.potentialReference,sou_a.V,sou_a.definiteReference,sou_a.f,sou_a.phiSou,sou_a.potentialReference,sou_ab.V,sou_ab.definiteReference,sou_ab.f,sou_ab.phiSou,sou_ab.potentialReference,sou_b.V,sou_b.definiteReference,sou_b.f,sou_b.phiSou,sou_b.potentialReference,sou_bc.V,sou_bc.definiteReference,sou_bc.f,sou_bc.phiSou,sou_bc.potentialReference,sou_c.V,sou_c.definiteReference,sou_c.f,sou_c.phiSou,sou_c.potentialReference,sou_ca.V,sou_ca.definiteReference,sou_ca.f,sou_ca.phiSou,sou_ca.potentialReference,time