Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 208.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.319/3.319, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 65.97 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3854, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01608/0.4014, allocations: 10.71 MB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.4125, allocations: 5.645 MB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4141, allocations: 75.31 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.4193, allocations: 1.722 MB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.4233, allocations: 1.19 MB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.4259, allocations: 0.8134 MB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.4293, allocations: 2.127 MB / 1.349 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.4314, allocations: 1.033 MB / 1.35 GB, free: 9.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.4334, allocations: 0.8796 MB / 1.351 GB, free: 8.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.4352, allocations: 0.965 MB / 1.352 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.4356, allocations: 112 kB / 1.352 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.438, allocations: 1.072 MB / 1.353 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007882/0.4388, allocations: 0.5413 MB / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.4401, allocations: 0.6491 MB / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.4445, allocations: 2.451 MB / 1.356 GB, free: 2.898 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.4445, allocations: 4 kB / 1.356 GB, free: 2.895 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4445, allocations: 0 / 1.356 GB, free: 2.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.051e-05/0.4446, allocations: 3.938 kB / 1.356 GB, free: 2.891 MB / 1.045 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.004284/0.4489, allocations: 1.848 MB / 1.358 GB, free: 1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.449, allocations: 12.03 kB / 1.358 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.4538, allocations: 0.6709 MB / 1.359 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.4562, allocations: 0.9176 MB / 1.36 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.4563, allocations: 94.89 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.4566, allocations: 128.3 kB / 1.36 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00407/0.4607, allocations: 2.408 MB / 1.362 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.4607, allocations: 19.83 kB / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.4609, allocations: 59.97 kB / 1.362 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002682/0.4612, allocations: 162.3 kB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.4645, allocations: 1.859 MB / 1.364 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.4783, allocations: 9.207 MB / 1.373 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.4831, allocations: 1.862 MB / 1.375 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.484, allocations: 0.5542 MB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.4842, allocations: 32.97 kB / 1.376 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4842, allocations: 43.56 kB / 1.376 GB, free: 14.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 4.548e-06/0.4842, allocations: 0 / 1.376 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.007192/0.4914, allocations: 3.126 MB / 1.379 GB, free: 11.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4915, allocations: 64.41 kB / 1.379 GB, free: 11.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4929, allocations: 0.8846 MB / 1.38 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.493, allocations: 41.7 kB / 1.38 GB, free: 10.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/0.4936, allocations: 0.7494 MB / 1.381 GB, free: 9.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.4941, allocations: 404.6 kB / 1.381 GB, free: 9.031 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.4945, allocations: 287.4 kB / 1.381 GB, free: 8.746 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4947, allocations: 301.1 kB / 1.381 GB, free: 8.449 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4957, allocations: 0.6129 MB / 1.382 GB, free: 7.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4973, allocations: 1.109 MB / 1.383 GB, free: 6.512 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.5002, allocations: 1.835 MB / 1.385 GB, free: 4.457 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.5002, allocations: 4 kB / 1.385 GB, free: 4.453 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004155/0.5044, allocations: 2.104 MB / 1.387 GB, free: 2.316 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5044, allocations: 12 kB / 1.387 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.5045, allocations: 16 kB / 1.387 GB, free: 2.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/0.5054, allocations: 259.1 kB / 1.387 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.5068, allocations: 375.4 kB / 1.388 GB, free: 1.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.5175, allocations: 10.56 MB / 1.398 GB, free: 6.262 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5189, allocations: 131.9 kB / 1.398 GB, free: 6.133 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.5191, allocations: 67.98 kB / 1.398 GB, free: 6.066 MB / 1.092 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.0009074/0.5201, allocations: 414.5 kB / 1.399 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.5204, allocations: 135.2 kB / 1.399 GB, free: 5.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.5237, allocations: 1.671 MB / 1.4 GB, free: 3.812 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.5237, allocations: 3.984 kB / 1.4 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5237, allocations: 4 kB / 1.4 GB, free: 3.805 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.5244, allocations: 215.1 kB / 1.401 GB, free: 3.594 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.5246, allocations: 23.98 kB / 1.401 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.5253, allocations: 87.88 kB / 1.401 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5255, allocations: 76.84 kB / 1.401 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003535/0.5291, allocations: 1.644 MB / 1.402 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00326/0.5323, allocations: 2.088 MB / 1.404 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008744/0.5332, allocations: 0.5386 MB / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009014/0.5341, allocations: 0.5842 MB / 1.405 GB, free: 14.49 MB / 1.107 GB Notification: Performance of Backend: time 5.11e-07/0.5341, allocations: 0 / 1.405 GB, free: 14.49 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005627/0.5397, allocations: 2.523 MB / 1.408 GB, free: 11.86 MB / 1.107 GB Notification: Performance of SimCode: time 0.005838/0.5456, allocations: 3.002 MB / 1.411 GB, free: 8.812 MB / 1.107 GB Notification: Performance of Templates: time 0.04946/0.595, allocations: 28.42 MB / 1.439 GB, free: 12.77 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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.L,RL_a.LMax,RL_a.LMin,RL_a.P_nominal,RL_a.R,RL_a.RMax,RL_a.RMin,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.L,RL_ab.LMax,RL_ab.LMin,RL_ab.P_nominal,RL_ab.R,RL_ab.RMax,RL_ab.RMin,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.L,RL_b.LMax,RL_b.LMin,RL_b.P_nominal,RL_b.R,RL_b.RMax,RL_b.RMin,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.L,RL_bc.LMax,RL_bc.LMin,RL_bc.P_nominal,RL_bc.R,RL_bc.RMax,RL_bc.RMin,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.L,RL_c.LMax,RL_c.LMin,RL_c.P_nominal,RL_c.R,RL_c.RMax,RL_c.RMin,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.L,RL_c1.LMax,RL_c1.LMin,RL_c1.P_nominal,RL_c1.R,RL_c1.RMax,RL_c1.RMin,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.L,RL_star.LMax,RL_star.LMin,RL_star.P_nominal,RL_star.R,RL_star.RMax,RL_star.RMin,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.L,RL_tri.LMax,RL_tri.LMin,RL_tri.P_nominal,RL_tri.R,RL_tri.RMax,RL_tri.RMin,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 [Calling sys.exit(0), Time elapsed: 10.081564578002144]