Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001773/0.001773, 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.002734/0.002734, allocations: 210.7 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.492/1.492, 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.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.001991/0.001991, allocations: 72.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02735/0.4527, allocations: 19.52 MB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.4658, allocations: 6.485 MB / 1.352 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.4685, allocations: 115.1 kB / 1.353 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006961/0.4755, allocations: 2.254 MB / 1.355 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.4806, allocations: 1.236 MB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.485, allocations: 1.284 MB / 1.357 GB, free: 1.957 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008315/0.4933, allocations: 4.843 MB / 1.362 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007934/0.5012, allocations: 3.182 MB / 1.365 GB, free: 9.844 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.5065, allocations: 2.162 MB / 1.367 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005714/0.5122, allocations: 2.473 MB / 1.37 GB, free: 5.195 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.5139, allocations: 432 kB / 1.37 GB, free: 4.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.5175, allocations: 0.9479 MB / 1.371 GB, free: 3.824 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003572/0.5211, allocations: 1.711 MB / 1.373 GB, free: 2.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00488/0.5259, allocations: 1.556 MB / 1.374 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.5379, allocations: 6.565 MB / 1.381 GB, free: 9.961 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.5379, allocations: 0 / 1.381 GB, free: 9.961 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5379, allocations: 0 / 1.381 GB, free: 9.961 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002745/0.5382, allocations: 0 / 1.381 GB, free: 9.961 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01198/0.5501, allocations: 3.466 MB / 1.384 GB, free: 6.445 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5502, allocations: 8.031 kB / 1.384 GB, free: 6.438 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.5542, allocations: 0.6545 MB / 1.385 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006319/0.5605, allocations: 2.001 MB / 1.387 GB, free: 3.727 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.5607, allocations: 218.3 kB / 1.387 GB, free: 3.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.562, allocations: 304.3 kB / 1.387 GB, free: 3.215 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.5739, allocations: 5.241 MB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.996e-05/0.574, allocations: 7.938 kB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.5744, allocations: 132 kB / 1.392 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005179/0.5749, allocations: 225.7 kB / 1.393 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008034/0.5829, allocations: 3.742 MB / 1.396 GB, free: 9.57 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02454/0.6075, allocations: 13.1 MB / 1.409 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.6095, allocations: 1.231 MB / 1.41 GB, free: 10.89 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.6111, allocations: 0.9913 MB / 1.411 GB, free: 9.898 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.6112, allocations: 9 kB / 1.411 GB, free: 9.891 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.6113, allocations: 51.56 kB / 1.411 GB, free: 9.832 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.957e-06/0.6113, allocations: 0 / 1.411 GB, free: 9.832 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.0261/0.6374, allocations: 8.432 MB / 1.419 GB, free: 1.395 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.6374, allocations: 64.72 kB / 1.419 GB, free: 1.32 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.6391, allocations: 1.063 MB / 1.421 GB, free: 252 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.6393, allocations: 53.7 kB / 1.421 GB, free: 192 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.6405, allocations: 1.342 MB / 1.422 GB, free: 14.83 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.6411, allocations: 0.4996 MB / 1.422 GB, free: 14.33 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.6416, allocations: 291.5 kB / 1.423 GB, free: 14.04 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6417, allocations: 305.1 kB / 1.423 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6431, allocations: 0.9174 MB / 1.424 GB, free: 12.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.6449, allocations: 1.326 MB / 1.425 GB, free: 11.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.6485, allocations: 2.422 MB / 1.428 GB, free: 8.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6485, allocations: 4 kB / 1.428 GB, free: 8.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007155/0.6557, allocations: 3.425 MB / 1.431 GB, free: 5.281 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.6557, allocations: 12 kB / 1.431 GB, free: 5.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.6557, allocations: 12 kB / 1.431 GB, free: 5.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003568/0.6593, allocations: 1.186 MB / 1.432 GB, free: 4.066 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6605, allocations: 259.5 kB / 1.432 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.6805, allocations: 13.24 MB / 1.445 GB, free: 6.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.682, allocations: 95.97 kB / 1.445 GB, free: 6.176 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.6821, allocations: 63.98 kB / 1.445 GB, free: 6.113 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002199/0.6843, allocations: 1.111 MB / 1.446 GB, free: 4.992 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.6847, allocations: 163 kB / 1.447 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006321/0.691, allocations: 3.137 MB / 1.45 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.691, allocations: 7.922 kB / 1.45 GB, free: 1.668 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.691, allocations: 0 / 1.45 GB, free: 1.668 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.6922, allocations: 350.9 kB / 1.45 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.6924, allocations: 28 kB / 1.45 GB, free: 1.297 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.6931, allocations: 67.91 kB / 1.45 GB, free: 1.23 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.6935, allocations: 156.9 kB / 1.45 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007854/0.7013, allocations: 3.472 MB / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005144/0.7065, allocations: 3.344 MB / 1.457 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001662/0.7081, allocations: 0.9899 MB / 1.458 GB, free: 9.242 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001187/0.7093, allocations: 0.7138 MB / 1.459 GB, free: 8.523 MB / 1.154 GB Notification: Performance of Backend: time 6.12e-07/0.7093, allocations: 0 / 1.459 GB, free: 8.523 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006102/0.7154, allocations: 2.603 MB / 1.461 GB, free: 5.875 MB / 1.154 GB Notification: Performance of SimCode: time 0.01145/0.7269, allocations: 6.118 MB / 1.467 GB, free: 15.72 MB / 1.17 GB Notification: Performance of Templates: time 0.07309/0.8, allocations: 40.72 MB / 1.507 GB, free: 7.602 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.130005881001125]