Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001556/0.001556, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001765/0.001765, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002043/0.002043, allocations: 65.03 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04894/0.4095, allocations: 39.81 MB / 1.324 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.4316, allocations: 11.44 MB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.4367, allocations: 202.6 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.4495, allocations: 4.556 MB / 1.339 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008909/0.4584, allocations: 2.336 MB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007882/0.4663, allocations: 2.252 MB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01676/0.4831, allocations: 9.281 MB / 1.353 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01309/0.4962, allocations: 6.396 MB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.5074, allocations: 4.102 MB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.5181, allocations: 4.755 MB / 1.368 GB, free: 5.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003168/0.5213, allocations: 0.8281 MB / 1.369 GB, free: 4.945 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.5269, allocations: 1.604 MB / 1.37 GB, free: 3.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.006908/0.5338, allocations: 3.238 MB / 1.373 GB, free: 96 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.5441, allocations: 3.657 MB / 1.377 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02214/0.5662, allocations: 12.35 MB / 1.389 GB, free: 32 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5662, allocations: 0 / 1.389 GB, free: 32 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5662, allocations: 0 / 1.389 GB, free: 32 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004919/0.5667, allocations: 0 / 1.389 GB, free: 32 kB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02161/0.5883, allocations: 6.403 MB / 1.395 GB, free: 9.566 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5884, allocations: 8.031 kB / 1.395 GB, free: 9.559 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/0.5951, allocations: 1.094 MB / 1.396 GB, free: 8.461 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.6053, allocations: 3.572 MB / 1.4 GB, free: 4.828 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/0.6058, allocations: 427.7 kB / 1.4 GB, free: 4.41 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/0.608, allocations: 0.5355 MB / 1.401 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.6317, allocations: 9.385 MB / 1.41 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.6319, allocations: 23.77 kB / 1.41 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.6336, allocations: 248 kB / 1.41 GB, free: 9.891 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006931/0.6343, allocations: 426.9 kB / 1.411 GB, free: 9.473 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.6515, allocations: 7.12 MB / 1.417 GB, free: 2.344 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05954/0.7111, allocations: 40.7 MB / 1.457 GB, free: 5.891 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.7161, allocations: 2.909 MB / 1.46 GB, free: 2.984 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.7192, allocations: 1.945 MB / 1.462 GB, free: 1.031 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.7193, allocations: 25.98 kB / 1.462 GB, free: 1.004 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.035e-05/0.7194, allocations: 60.56 kB / 1.462 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.218e-06/0.7194, allocations: 0 / 1.462 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02602/0.7454, allocations: 10.28 MB / 1.472 GB, free: 6.645 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.7455, allocations: 77.34 kB / 1.472 GB, free: 6.555 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.7487, allocations: 2.002 MB / 1.474 GB, free: 4.535 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.7491, allocations: 65.7 kB / 1.474 GB, free: 4.465 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.7512, allocations: 2.478 MB / 1.477 GB, free: 1.961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.7523, allocations: 0.7668 MB / 1.477 GB, free: 1.188 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000812/0.7531, allocations: 485.5 kB / 1.478 GB, free: 0.707 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7532, allocations: 305.1 kB / 1.478 GB, free: 416 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.7555, allocations: 1.376 MB / 1.479 GB, free: 15.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.7584, allocations: 2.108 MB / 1.481 GB, free: 12.6 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.7639, allocations: 3.766 MB / 1.485 GB, free: 8.527 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.764, allocations: 4 kB / 1.485 GB, free: 8.523 MB / 1.186 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008985/0.7729, allocations: 5.027 MB / 1.49 GB, free: 3.473 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.773, allocations: 16 kB / 1.49 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/0.773, allocations: 24 kB / 1.49 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003794/0.7768, allocations: 1.583 MB / 1.492 GB, free: 1.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.7787, allocations: 459.2 kB / 1.492 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02581/0.8045, allocations: 18.17 MB / 1.51 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.8071, allocations: 147.9 kB / 1.51 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/0.8075, allocations: 108 kB / 1.51 GB, free: 14.52 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004561/0.8121, allocations: 1.941 MB / 1.512 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008734/0.8129, allocations: 302.2 kB / 1.512 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008155/0.8211, allocations: 4.4 MB / 1.517 GB, free: 7.836 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.8211, allocations: 20 kB / 1.517 GB, free: 7.816 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/0.8212, allocations: 16 kB / 1.517 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.8212, allocations: 15.95 kB / 1.517 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.8398, allocations: 9.597 MB / 1.526 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.8398, allocations: 7.984 kB / 1.526 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8409, allocations: 235.6 kB / 1.526 GB, free: 13.81 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/0.8444, allocations: 1.423 MB / 1.528 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.8446, allocations: 40 kB / 1.528 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02556/0.8702, allocations: 18.19 MB / 1.545 GB, free: 9.688 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.8702, allocations: 7.938 kB / 1.545 GB, free: 9.68 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.8787, allocations: 4.499 MB / 1.55 GB, free: 5.09 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.8807, allocations: 0.5839 MB / 1.55 GB, free: 4.504 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/0.8813, allocations: 36.25 kB / 1.55 GB, free: 4.469 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.8827, allocations: 115.9 kB / 1.551 GB, free: 4.355 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005478/0.8832, allocations: 193.7 kB / 1.551 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8834, allocations: 63.98 kB / 1.551 GB, free: 4.105 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002248/0.8856, allocations: 1.315 MB / 1.552 GB, free: 2.781 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.8856, allocations: 0 / 1.552 GB, free: 2.781 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003845/0.8895, allocations: 1.141 MB / 1.553 GB, free: 1.641 MB / 1.248 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004056/0.8899, allocations: 167 kB / 1.553 GB, free: 1.469 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008371/0.8983, allocations: 4.539 MB / 1.558 GB, free: 12.88 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.8983, allocations: 5 kB / 1.558 GB, free: 12.88 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/0.9035, allocations: 2.804 MB / 1.561 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/0.9075, allocations: 0.8921 MB / 1.561 GB, free: 9.141 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.9277, allocations: 10.34 MB / 1.571 GB, free: 14.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005681/0.9334, allocations: 3.78 MB / 1.575 GB, free: 10.88 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008524/0.9342, allocations: 163.4 kB / 1.575 GB, free: 10.72 MB / 1.279 GB Notification: Performance of SimCode: time 1.413e-06/0.9342, allocations: 4 kB / 1.575 GB, free: 10.72 MB / 1.279 GB Notification: Performance of Templates: time 0.8931/1.827, allocations: 172.4 MB / 1.744 GB, free: 170.4 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 24.717367231991375]