Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001374/0.001374, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001505/0.001505, allocations: 212.1 kB / 22.99 MB, free: 4.984 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.47/1.47, 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.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002071/0.002071, allocations: 65.59 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04102/0.4037, allocations: 31.71 MB / 1.358 GB, free: 1.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.4294, allocations: 14.45 MB / 1.372 GB, free: 2.688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006018/0.4354, allocations: 210.4 kB / 1.372 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01399/0.4494, allocations: 3.674 MB / 1.376 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.4615, allocations: 2.978 MB / 1.379 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006912/0.4684, allocations: 2.339 MB / 1.381 GB, free: 9.469 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4819, allocations: 8.812 MB / 1.39 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009866/0.4918, allocations: 5.553 MB / 1.395 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/0.5003, allocations: 4.219 MB / 1.399 GB, free: 6.715 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008516/0.5088, allocations: 4.193 MB / 1.403 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002868/0.5117, allocations: 0.7109 MB / 1.404 GB, free: 1.797 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005687/0.5174, allocations: 1.623 MB / 1.406 GB, free: 176 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00552/0.5229, allocations: 2.887 MB / 1.408 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006916/0.5298, allocations: 2.743 MB / 1.411 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.5453, allocations: 11.26 MB / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5453, allocations: 0 / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5453, allocations: 3.938 kB / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003456/0.5456, allocations: 0 / 1.422 GB, free: 15.23 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01659/0.5622, allocations: 6.033 MB / 1.428 GB, free: 9.129 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5623, allocations: 8.031 kB / 1.428 GB, free: 9.121 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007872/0.5701, allocations: 1.172 MB / 1.429 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009607/0.5798, allocations: 3.45 MB / 1.433 GB, free: 4.406 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004458/0.5802, allocations: 374.4 kB / 1.433 GB, free: 4.039 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.5821, allocations: 496 kB / 1.433 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.6016, allocations: 8.705 MB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.6018, allocations: 19.84 kB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000792/0.6026, allocations: 219.9 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001209/0.6038, allocations: 441.6 kB / 1.443 GB, free: 9.742 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.6172, allocations: 6.069 MB / 1.448 GB, free: 3.66 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/0.6561, allocations: 21.23 MB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.6593, allocations: 1.916 MB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/0.6621, allocations: 1.74 MB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.6622, allocations: 22 kB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.6623, allocations: 60.55 kB / 1.473 GB, free: 10.2 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.788e-06/0.6623, allocations: 0 / 1.473 GB, free: 10.2 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1568/0.8192, allocations: 38.67 MB / 1.511 GB, free: 3.469 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.8192, allocations: 85.52 kB / 1.511 GB, free: 3.371 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/0.8223, allocations: 2.039 MB / 1.513 GB, free: 1.312 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.8227, allocations: 69.7 kB / 1.513 GB, free: 1.238 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.8245, allocations: 2.356 MB / 1.515 GB, free: 14.86 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.8256, allocations: 0.9721 MB / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.8267, allocations: 0.5102 MB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8268, allocations: 309.1 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/0.83, allocations: 1.973 MB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.8337, allocations: 2.606 MB / 1.521 GB, free: 8.223 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/0.841, allocations: 4.929 MB / 1.526 GB, free: 3.02 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.841, allocations: 7.938 kB / 1.526 GB, free: 3.012 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01614/0.8572, allocations: 7.619 MB / 1.534 GB, free: 11.32 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.8572, allocations: 12 kB / 1.534 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.8572, allocations: 20 kB / 1.534 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.8674, allocations: 3.205 MB / 1.537 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.8692, allocations: 411.2 kB / 1.537 GB, free: 7.668 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04802/0.9172, allocations: 32.56 MB / 1.569 GB, free: 6.484 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.9203, allocations: 163.8 kB / 1.569 GB, free: 6.324 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/0.9206, allocations: 104 kB / 1.569 GB, free: 6.223 MB / 1.264 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003609/0.9242, allocations: 1.805 MB / 1.571 GB, free: 4.406 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/0.925, allocations: 318.1 kB / 1.571 GB, free: 4.094 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.94, allocations: 7.225 MB / 1.578 GB, free: 12.78 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.94, allocations: 24.38 kB / 1.578 GB, free: 12.76 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.168e-05/0.9401, allocations: 32 kB / 1.578 GB, free: 12.73 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/0.9401, allocations: 19.88 kB / 1.578 GB, free: 12.71 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/0.9638, allocations: 11.4 MB / 1.589 GB, free: 1.168 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.9638, allocations: 11.92 kB / 1.589 GB, free: 1.156 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009973/0.9648, allocations: 231.8 kB / 1.59 GB, free: 0.9297 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008855/0.9737, allocations: 2.846 MB / 1.592 GB, free: 14.06 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.974, allocations: 52 kB / 1.593 GB, free: 14.01 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8715/1.845, allocations: 31.34 MB / 1.623 GB, free: 249.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/1.845, allocations: 12.22 kB / 1.623 GB, free: 249.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.859, allocations: 6.756 MB / 1.63 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/1.862, allocations: 0.698 MB / 1.63 GB, free: 246.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008043/1.863, allocations: 52.25 kB / 1.63 GB, free: 246.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.865, allocations: 175.9 kB / 1.631 GB, free: 246.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.866, allocations: 263.4 kB / 1.631 GB, free: 246.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.866, allocations: 76.56 kB / 1.631 GB, free: 246.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0022/1.868, allocations: 1.331 MB / 1.632 GB, free: 245.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.868, allocations: 0 / 1.632 GB, free: 245.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005458/1.874, allocations: 1.367 MB / 1.634 GB, free: 245.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004839/1.874, allocations: 175.9 kB / 1.634 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.886, allocations: 6.559 MB / 1.64 GB, free: 242.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.886, allocations: 4.812 kB / 1.64 GB, free: 242.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007365/1.894, allocations: 4.253 MB / 1.644 GB, free: 240.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/1.898, allocations: 1.015 MB / 1.645 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.914, allocations: 10.35 MB / 1.655 GB, free: 235.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/1.918, allocations: 3.106 MB / 1.658 GB, free: 234.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001998/1.92, allocations: 0.5256 MB / 1.659 GB, free: 234.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/1.921, allocations: 150.2 kB / 1.659 GB, free: 234.7 MB / 1.295 GB Notification: Performance of SimCode: time 2.023e-06/1.921, allocations: 0 / 1.659 GB, free: 234.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1028/2.023, allocations: 83.21 MB / 1.74 GB, free: 156.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 12.453901925007813]