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.001887/0.001887, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.002103/0.002103, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.461/1.461, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 67.89 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8982, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0141/0.9123, allocations: 11.1 MB / 1.237 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00976/0.9221, allocations: 5.792 MB / 1.243 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.9235, allocations: 47.69 kB / 1.243 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.9282, allocations: 1.735 MB / 1.245 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.9316, allocations: 1.174 MB / 1.246 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.9339, allocations: 0.8092 MB / 1.247 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.9369, allocations: 2.135 MB / 1.249 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.9388, allocations: 1.303 MB / 1.25 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.9404, allocations: 0.8601 MB / 1.251 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.9419, allocations: 0.9065 MB / 1.252 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.9423, allocations: 112 kB / 1.252 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.9451, allocations: 1.181 MB / 1.253 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.946, allocations: 0.5258 MB / 1.253 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.9477, allocations: 0.7811 MB / 1.254 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.9522, allocations: 2.44 MB / 1.257 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9522, allocations: 0 / 1.257 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.136e-06/0.9522, allocations: 0 / 1.257 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.423e-05/0.9523, allocations: 3.938 kB / 1.257 GB, free: 14.51 MB / 0.9825 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.003948/0.9563, allocations: 1.919 MB / 1.258 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9563, allocations: 8.031 kB / 1.258 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/0.961, allocations: 0.6864 MB / 1.259 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.9631, allocations: 0.9974 MB / 1.26 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.9633, allocations: 102.9 kB / 1.26 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.9636, allocations: 128.3 kB / 1.26 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.9675, allocations: 2.21 MB / 1.262 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.9676, allocations: 15.88 kB / 1.262 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.9678, allocations: 63.97 kB / 1.263 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.968, allocations: 166.3 kB / 1.263 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.9713, allocations: 1.863 MB / 1.264 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.9843, allocations: 12.45 MB / 1.277 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.9887, allocations: 1.975 MB / 1.279 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.9897, allocations: 0.6089 MB / 1.279 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.9899, allocations: 106 kB / 1.279 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.9899, allocations: 43.5 kB / 1.279 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 4.098e-06/0.99, allocations: 0 / 1.279 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.006858/0.9968, allocations: 3.728 MB / 1.283 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.9969, allocations: 60.41 kB / 1.283 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.9987, allocations: 0.9244 MB / 1.284 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/0.9988, allocations: 45.7 kB / 1.284 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/0.9995, allocations: 0.7533 MB / 1.285 GB, free: 132 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.9999, allocations: 408.7 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/1, allocations: 287.4 kB / 1.285 GB, free: 15.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1, allocations: 301.1 kB / 1.286 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009869/1.001, allocations: 0.6129 MB / 1.286 GB, free: 14.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.003, allocations: 1.109 MB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/1.005, allocations: 1.835 MB / 1.289 GB, free: 11.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.005, allocations: 4 kB / 1.289 GB, free: 11.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003657/1.009, allocations: 2.1 MB / 1.291 GB, free: 9.012 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.009, allocations: 12 kB / 1.291 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.009, allocations: 16 kB / 1.291 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/1.01, allocations: 259.2 kB / 1.291 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.011, allocations: 375.4 kB / 1.292 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009295/1.02, allocations: 11.59 MB / 1.303 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.022, allocations: 123.8 kB / 1.303 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.022, allocations: 71.94 kB / 1.303 GB, free: 11.43 MB / 1.029 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.0007517/1.023, allocations: 409.8 kB / 1.304 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/1.023, allocations: 135.2 kB / 1.304 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/1.026, allocations: 1.677 MB / 1.305 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.026, allocations: 7.969 kB / 1.305 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.026, allocations: 0 / 1.305 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/1.027, allocations: 312.1 kB / 1.306 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/1.027, allocations: 20 kB / 1.306 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/1.028, allocations: 83.88 kB / 1.306 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.028, allocations: 76.83 kB / 1.306 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003265/1.031, allocations: 1.652 MB / 1.308 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003229/1.034, allocations: 2.096 MB / 1.31 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008239/1.035, allocations: 0.5698 MB / 1.31 GB, free: 4.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001001/1.036, allocations: 0.6216 MB / 1.311 GB, free: 3.672 MB / 1.029 GB Notification: Performance of Backend: time 3.6e-07/1.036, allocations: 0 / 1.311 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005542/1.042, allocations: 2.631 MB / 1.313 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of SimCode: time 0.005326/1.047, allocations: 3.005 MB / 1.316 GB, free: 13.88 MB / 1.045 GB Notification: Performance of Templates: time 0.04356/1.091, allocations: 25.31 MB / 1.341 GB, free: 4.746 MB / 1.061 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