Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001547/0.001547, allocations: 111.4 kB / 16.42 MB, free: 6.488 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.00175/0.00175, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.107, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0134/1.121, allocations: 11.1 MB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009507/1.13, allocations: 5.793 MB / 1.184 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/1.132, allocations: 51.69 kB / 1.184 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004496/1.136, allocations: 1.719 MB / 1.186 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/1.14, allocations: 1.182 MB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/1.143, allocations: 0.8261 MB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003456/1.146, allocations: 2.127 MB / 1.19 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.148, allocations: 1.31 MB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/1.15, allocations: 0.86 MB / 1.192 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/1.151, allocations: 0.9066 MB / 1.193 GB, free: 9.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/1.151, allocations: 112 kB / 1.193 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/1.154, allocations: 1.177 MB / 1.194 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007037/1.155, allocations: 0.5336 MB / 1.194 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/1.156, allocations: 0.781 MB / 1.195 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/1.16, allocations: 2.424 MB / 1.197 GB, free: 4.824 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.16, allocations: 0 / 1.197 GB, free: 4.824 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/1.16, allocations: 0 / 1.197 GB, free: 4.824 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.926e-05/1.16, allocations: 0 / 1.197 GB, free: 4.824 MB / 0.92 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.003527/1.164, allocations: 1.864 MB / 1.199 GB, free: 2.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.164, allocations: 12.92 kB / 1.199 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/1.169, allocations: 0.6737 MB / 1.2 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/1.171, allocations: 1.004 MB / 1.201 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/1.171, allocations: 98.89 kB / 1.201 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/1.171, allocations: 120.4 kB / 1.201 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/1.175, allocations: 2.214 MB / 1.203 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/1.175, allocations: 11.94 kB / 1.203 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.175, allocations: 63.97 kB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002234/1.175, allocations: 162.3 kB / 1.204 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/1.178, allocations: 1.863 MB / 1.205 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/1.192, allocations: 12.44 MB / 1.218 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/1.196, allocations: 1.972 MB / 1.219 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008563/1.197, allocations: 0.6011 MB / 1.22 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.197, allocations: 110 kB / 1.22 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.197, allocations: 43.56 kB / 1.22 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 3.256e-06/1.197, allocations: 0 / 1.22 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.00632/1.204, allocations: 3.706 MB / 1.224 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.204, allocations: 68.41 kB / 1.224 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.205, allocations: 0.9281 MB / 1.225 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/1.205, allocations: 45.7 kB / 1.225 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004851/1.205, allocations: 0.7236 MB / 1.226 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/1.206, allocations: 386.5 kB / 1.226 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/1.206, allocations: 283.2 kB / 1.226 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.206, allocations: 305.1 kB / 1.226 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/1.207, allocations: 0.6168 MB / 1.227 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/1.208, allocations: 1.113 MB / 1.228 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/1.211, allocations: 1.832 MB / 1.23 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.211, allocations: 8 kB / 1.23 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003431/1.214, allocations: 2.092 MB / 1.232 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.214, allocations: 12 kB / 1.232 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.214, allocations: 16 kB / 1.232 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008872/1.215, allocations: 259.4 kB / 1.232 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.217, allocations: 371.4 kB / 1.233 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.228, allocations: 11.59 MB / 1.244 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.229, allocations: 123.8 kB / 1.244 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.229, allocations: 71.98 kB / 1.244 GB, free: 1.906 MB / 0.9669 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.0009537/1.23, allocations: 406.6 kB / 1.244 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.231, allocations: 126.5 kB / 1.245 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/1.234, allocations: 1.682 MB / 1.246 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.234, allocations: 3.984 kB / 1.246 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.234, allocations: 0 / 1.246 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.235, allocations: 295.5 kB / 1.247 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.235, allocations: 31.84 kB / 1.247 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/1.235, allocations: 91.86 kB / 1.247 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.236, allocations: 76.89 kB / 1.247 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003247/1.239, allocations: 1.646 MB / 1.248 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00295/1.242, allocations: 2.091 MB / 1.25 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007784/1.243, allocations: 0.5698 MB / 1.251 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008503/1.244, allocations: 0.6177 MB / 1.252 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of Backend: time 9.12e-07/1.244, allocations: 4 kB / 1.252 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005134/1.249, allocations: 2.62 MB / 1.254 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004825/1.254, allocations: 2.969 MB / 1.257 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.04492/1.298, allocations: 25.29 MB / 1.282 GB, free: 11.3 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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