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.001409/0.001409, allocations: 110.8 kB / 16.37 MB, free: 6.355 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.001189/0.001189, allocations: 191.5 kB / 17.31 MB, free: 5.895 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 442.7 MB / 0.7166 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0125/1.061, allocations: 11.09 MB / 1.188 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009617/1.071, allocations: 5.796 MB / 1.193 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/1.072, allocations: 47.69 kB / 1.193 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00455/1.077, allocations: 1.731 MB / 1.195 GB, free: 8.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/1.081, allocations: 1.147 MB / 1.196 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/1.083, allocations: 0.8105 MB / 1.197 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003168/1.087, allocations: 2.127 MB / 1.199 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/1.088, allocations: 1.31 MB / 1.2 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/1.09, allocations: 0.8406 MB / 1.201 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.091, allocations: 0.9104 MB / 1.202 GB, free: 0.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/1.092, allocations: 116 kB / 1.202 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/1.094, allocations: 1.177 MB / 1.203 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005431/1.094, allocations: 0.5218 MB / 1.204 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008949/1.095, allocations: 0.7849 MB / 1.204 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003386/1.099, allocations: 2.424 MB / 1.207 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.099, allocations: 0 / 1.207 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/1.099, allocations: 0 / 1.207 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.196e-05/1.099, allocations: 0 / 1.207 GB, free: 11.8 MB / 0.9356 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.003273/1.102, allocations: 1.867 MB / 1.209 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.102, allocations: 11.97 kB / 1.209 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/1.107, allocations: 0.6737 MB / 1.209 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/1.109, allocations: 1.008 MB / 1.21 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/1.109, allocations: 90.89 kB / 1.21 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.109, allocations: 124.4 kB / 1.211 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/1.112, allocations: 2.214 MB / 1.213 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/1.112, allocations: 19.86 kB / 1.213 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/1.112, allocations: 55.97 kB / 1.213 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/1.112, allocations: 162.3 kB / 1.213 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/1.115, allocations: 1.871 MB / 1.215 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/1.127, allocations: 12.44 MB / 1.227 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/1.131, allocations: 1.972 MB / 1.229 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/1.132, allocations: 0.605 MB / 1.229 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.132, allocations: 102.1 kB / 1.23 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/1.133, allocations: 47.56 kB / 1.23 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 3.667e-06/1.133, allocations: 0 / 1.23 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.006555/1.139, allocations: 3.706 MB / 1.233 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.139, allocations: 68.34 kB / 1.233 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.141, allocations: 0.9203 MB / 1.234 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/1.141, allocations: 45.7 kB / 1.234 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/1.141, allocations: 0.7276 MB / 1.235 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/1.142, allocations: 382.5 kB / 1.235 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/1.142, allocations: 295.2 kB / 1.236 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.142, allocations: 301.1 kB / 1.236 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/1.143, allocations: 0.6129 MB / 1.236 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.145, allocations: 1.106 MB / 1.238 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/1.147, allocations: 1.828 MB / 1.239 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.147, allocations: 4 kB / 1.239 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003776/1.151, allocations: 2.104 MB / 1.241 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/1.151, allocations: 16.06 kB / 1.241 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.151, allocations: 16 kB / 1.241 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/1.152, allocations: 258.7 kB / 1.242 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.153, allocations: 371.3 kB / 1.242 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/1.162, allocations: 11.58 MB / 1.253 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.163, allocations: 123.8 kB / 1.253 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.163, allocations: 71.98 kB / 1.253 GB, free: 8.871 MB / 0.9825 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.0006642/1.164, allocations: 409.2 kB / 1.254 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.164, allocations: 126.5 kB / 1.254 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.167, allocations: 1.685 MB / 1.256 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.167, allocations: 3.984 kB / 1.256 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.167, allocations: 4 kB / 1.256 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.167, allocations: 299.4 kB / 1.256 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.167, allocations: 20 kB / 1.256 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/1.168, allocations: 79.88 kB / 1.256 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.168, allocations: 76.88 kB / 1.256 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003073/1.171, allocations: 1.652 MB / 1.258 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00271/1.174, allocations: 2.091 MB / 1.26 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008161/1.175, allocations: 0.5737 MB / 1.26 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008501/1.176, allocations: 0.6138 MB / 1.261 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of Backend: time 8.52e-07/1.176, allocations: 0 / 1.261 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00521/1.181, allocations: 2.628 MB / 1.263 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of SimCode: time 0.005954/1.187, allocations: 2.978 MB / 1.266 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.04504/1.232, allocations: 25 MB / 1.291 GB, free: 2.555 MB / 1.014 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) "" 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