Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001413/0.001413, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001537/0.001537, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.256/3.256, 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.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002096/0.002096, allocations: 74.47 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3773, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04533/0.4227, allocations: 33.76 MB / 1.36 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02223/0.4449, allocations: 11.55 MB / 1.371 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.4486, allocations: 206.5 kB / 1.372 GB, free: 3.285 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.4608, allocations: 4.263 MB / 1.376 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00669/0.4675, allocations: 2.1 MB / 1.378 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00714/0.4747, allocations: 2.415 MB / 1.38 GB, free: 10.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01223/0.4869, allocations: 8.461 MB / 1.388 GB, free: 2.004 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.4978, allocations: 6.22 MB / 1.394 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.5047, allocations: 3.872 MB / 1.398 GB, free: 7.777 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007785/0.5125, allocations: 4.428 MB / 1.403 GB, free: 3.336 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.5147, allocations: 0.7773 MB / 1.403 GB, free: 2.559 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005343/0.5201, allocations: 1.907 MB / 1.405 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004555/0.5246, allocations: 3.137 MB / 1.408 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005163/0.5298, allocations: 2.747 MB / 1.411 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.5456, allocations: 12.08 MB / 1.423 GB, free: 14.63 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.5456, allocations: 0 / 1.423 GB, free: 14.63 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5456, allocations: 3.938 kB / 1.423 GB, free: 14.63 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003504/0.5459, allocations: 0 / 1.423 GB, free: 14.63 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01556/0.5615, allocations: 5.855 MB / 1.428 GB, free: 8.711 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5615, allocations: 8.031 kB / 1.428 GB, free: 8.703 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/0.5685, allocations: 1.09 MB / 1.43 GB, free: 7.609 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009235/0.5777, allocations: 3.426 MB / 1.433 GB, free: 4.113 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.5782, allocations: 411.5 kB / 1.433 GB, free: 3.711 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.58, allocations: 0.5432 MB / 1.434 GB, free: 3.168 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.6026, allocations: 9.376 MB / 1.443 GB, free: 9.398 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003495/0.6029, allocations: 27.72 kB / 1.443 GB, free: 9.371 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/0.6047, allocations: 240 kB / 1.443 GB, free: 9.137 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004924/0.6052, allocations: 354.8 kB / 1.444 GB, free: 8.789 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.6206, allocations: 6.818 MB / 1.45 GB, free: 1.961 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.6635, allocations: 24.27 MB / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.6676, allocations: 2.303 MB / 1.476 GB, free: 6.793 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.6707, allocations: 1.763 MB / 1.478 GB, free: 5.035 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.6708, allocations: 22 kB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.6709, allocations: 48.56 kB / 1.478 GB, free: 4.957 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.769e-06/0.6709, allocations: 0 / 1.478 GB, free: 4.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02716/0.698, allocations: 9.671 MB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.6981, allocations: 77.41 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.7005, allocations: 1.441 MB / 1.489 GB, free: 9.738 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.7007, allocations: 53.7 kB / 1.489 GB, free: 9.68 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.7025, allocations: 2.319 MB / 1.491 GB, free: 7.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006937/0.7032, allocations: 0.6662 MB / 1.492 GB, free: 6.668 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006949/0.7039, allocations: 408.1 kB / 1.492 GB, free: 6.262 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.704, allocations: 309.1 kB / 1.492 GB, free: 5.957 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.7059, allocations: 1.176 MB / 1.494 GB, free: 4.777 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.7083, allocations: 1.881 MB / 1.495 GB, free: 2.578 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/0.7129, allocations: 3.364 MB / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.7129, allocations: 8 kB / 1.499 GB, free: 14.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008462/0.7214, allocations: 4.535 MB / 1.503 GB, free: 10.33 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.7214, allocations: 16.12 kB / 1.503 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.7215, allocations: 28 kB / 1.503 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/0.7258, allocations: 1.573 MB / 1.505 GB, free: 8.707 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.7271, allocations: 359.3 kB / 1.505 GB, free: 8.355 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02592/0.753, allocations: 17.83 MB / 1.523 GB, free: 6.121 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.7548, allocations: 115.9 kB / 1.523 GB, free: 6.008 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.755, allocations: 104 kB / 1.523 GB, free: 5.906 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003658/0.7587, allocations: 1.891 MB / 1.525 GB, free: 4.004 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.7592, allocations: 222.6 kB / 1.525 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/0.7668, allocations: 4.04 MB / 1.529 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.7668, allocations: 20 kB / 1.529 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/0.7669, allocations: 23.94 kB / 1.529 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.7669, allocations: 7.969 kB / 1.529 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.7825, allocations: 7.833 MB / 1.536 GB, free: 7.707 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.7825, allocations: 11.94 kB / 1.536 GB, free: 7.695 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.7834, allocations: 179.7 kB / 1.537 GB, free: 7.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003864/0.7872, allocations: 1.355 MB / 1.538 GB, free: 6.156 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.7874, allocations: 36 kB / 1.538 GB, free: 6.121 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02369/0.8111, allocations: 16.6 MB / 1.554 GB, free: 5.109 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.8111, allocations: 4 kB / 1.554 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/0.8187, allocations: 4.032 MB / 1.558 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.8203, allocations: 458.4 kB / 1.559 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/0.8206, allocations: 36 kB / 1.559 GB, free: 0.5039 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.8215, allocations: 87.89 kB / 1.559 GB, free: 428 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/0.822, allocations: 169.5 kB / 1.559 GB, free: 256 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8222, allocations: 48 kB / 1.559 GB, free: 208 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001394/0.8236, allocations: 0.9232 MB / 1.56 GB, free: 15.29 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8236, allocations: 0 / 1.56 GB, free: 15.29 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003144/0.8267, allocations: 0.9882 MB / 1.561 GB, free: 14.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.827, allocations: 155 kB / 1.561 GB, free: 14.13 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007262/0.8342, allocations: 4.155 MB / 1.565 GB, free: 9.926 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8343, allocations: 0 / 1.565 GB, free: 9.926 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.8388, allocations: 2.592 MB / 1.568 GB, free: 7.293 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.842, allocations: 0.7599 MB / 1.568 GB, free: 6.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.8585, allocations: 8.863 MB / 1.577 GB, free: 13.61 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00452/0.863, allocations: 3.031 MB / 1.58 GB, free: 10.54 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001503/0.8645, allocations: 467 kB / 1.58 GB, free: 10.07 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.8648, allocations: 107.4 kB / 1.58 GB, free: 9.969 MB / 1.279 GB Notification: Performance of SimCode: time 1.824e-06/0.8648, allocations: 0 / 1.58 GB, free: 9.969 MB / 1.279 GB Notification: Performance of Templates: time 0.7954/1.66, allocations: 51.15 MB / 1.63 GB, free: 246.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.365594836999662]