Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001292/0.001292, allocations: 95.92 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.001451/0.001451, allocations: 210.8 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.207/3.207, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.002027/0.002027, allocations: 76.8 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0311/0.3868, allocations: 22.25 MB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.4001, allocations: 6.446 MB / 1.355 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.4026, allocations: 127.1 kB / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0045/0.4071, allocations: 1.512 MB / 1.357 GB, free: 2.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.4122, allocations: 1.933 MB / 1.359 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.416, allocations: 1.47 MB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008909/0.4249, allocations: 6.916 MB / 1.367 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006452/0.4314, allocations: 3.754 MB / 1.37 GB, free: 4.348 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.4362, allocations: 2.937 MB / 1.373 GB, free: 1.402 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006024/0.4422, allocations: 3.731 MB / 1.377 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.4433, allocations: 0.5273 MB / 1.377 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.446, allocations: 1.116 MB / 1.379 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003271/0.4493, allocations: 2.533 MB / 1.381 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003735/0.4531, allocations: 2.054 MB / 1.383 GB, free: 7.414 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4635, allocations: 8.593 MB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4635, allocations: 0 / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4635, allocations: 0 / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002064/0.4637, allocations: 4 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01037/0.4741, allocations: 4.464 MB / 1.396 GB, free: 10.27 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4741, allocations: 8.031 kB / 1.396 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009044/0.4832, allocations: 1.703 MB / 1.397 GB, free: 8.555 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/0.4904, allocations: 2.672 MB / 1.4 GB, free: 5.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.4906, allocations: 275.7 kB / 1.4 GB, free: 5.57 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.4919, allocations: 360.3 kB / 1.401 GB, free: 5.219 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.5073, allocations: 7.72 MB / 1.408 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-05/0.5074, allocations: 15.83 kB / 1.408 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.5079, allocations: 159.9 kB / 1.408 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006506/0.5085, allocations: 483.3 kB / 1.409 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.519, allocations: 5.701 MB / 1.414 GB, free: 6.82 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/0.5515, allocations: 19.95 MB / 1.434 GB, free: 2.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.5546, allocations: 2.015 MB / 1.436 GB, free: 392 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/0.5578, allocations: 2.104 MB / 1.438 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5579, allocations: 17.31 kB / 1.438 GB, free: 14.26 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5579, allocations: 51.88 kB / 1.438 GB, free: 14.2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.328e-06/0.558, allocations: 0 / 1.438 GB, free: 14.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.2912/0.8491, allocations: 76.7 MB / 1.513 GB, free: 1.371 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.8492, allocations: 77.41 kB / 1.513 GB, free: 1.281 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.8516, allocations: 1.606 MB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004806/0.8521, allocations: 65.7 kB / 1.515 GB, free: 15.61 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.8536, allocations: 1.803 MB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.8547, allocations: 0.8985 MB / 1.517 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.8558, allocations: 485.4 kB / 1.518 GB, free: 12.4 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.856, allocations: 309.1 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.8603, allocations: 2.734 MB / 1.521 GB, free: 9.355 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/0.8652, allocations: 3.324 MB / 1.524 GB, free: 5.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00968/0.8749, allocations: 6.397 MB / 1.53 GB, free: 15.14 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.8749, allocations: 4 kB / 1.53 GB, free: 15.14 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03475/0.9096, allocations: 14.4 MB / 1.544 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.9097, allocations: 16 kB / 1.544 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.9097, allocations: 16 kB / 1.544 GB, free: 0.6641 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03125/0.9409, allocations: 9.199 MB / 1.553 GB, free: 7.438 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9422, allocations: 303.5 kB / 1.554 GB, free: 7.141 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08648/1.029, allocations: 50.85 MB / 1.603 GB, free: 3.633 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.032, allocations: 223.7 kB / 1.603 GB, free: 3.414 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/1.032, allocations: 108 kB / 1.604 GB, free: 3.309 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003075/1.035, allocations: 1.592 MB / 1.605 GB, free: 1.707 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/1.036, allocations: 246.7 kB / 1.605 GB, free: 1.465 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.731/1.767, allocations: 14.46 MB / 1.619 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-05/1.767, allocations: 19.91 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.767, allocations: 1.516 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/1.77, allocations: 0.773 MB / 1.62 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008772/1.771, allocations: 45.7 kB / 1.62 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.773, allocations: 195.9 kB / 1.62 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/1.775, allocations: 0.4938 MB / 1.621 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02744/1.802, allocations: 11.59 MB / 1.632 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01414/1.816, allocations: 9.078 MB / 1.641 GB, free: 252.6 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003407/1.82, allocations: 2.755 MB / 1.644 GB, free: 251.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001943/1.822, allocations: 1.067 MB / 1.645 GB, free: 251.4 MB / 1.295 GB Notification: Performance of Backend: time 6.32e-07/1.822, allocations: 0 / 1.645 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02087/1.843, allocations: 7.952 MB / 1.653 GB, free: 248.4 MB / 1.295 GB Notification: Performance of SimCode: time 0.01334/1.856, allocations: 9.61 MB / 1.662 GB, free: 239.9 MB / 1.295 GB Notification: Performance of Templates: time 0.09804/1.954, allocations: 92.23 MB / 1.752 GB, free: 148 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 11.98267799000314]