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.001934/0.001934, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.002537/0.002537, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.105/3.105, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002061/0.002061, allocations: 67.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03655/1.105, allocations: 33.86 MB / 1.355 GB, free: 2.082 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03407/1.139, allocations: 14.99 MB / 1.37 GB, free: 7.707 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006396/1.146, allocations: 210.8 kB / 1.37 GB, free: 7.605 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01197/1.158, allocations: 3.715 MB / 1.374 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/1.171, allocations: 2.987 MB / 1.376 GB, free: 3.555 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008962/1.18, allocations: 2.335 MB / 1.379 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01847/1.198, allocations: 8.809 MB / 1.387 GB, free: 14.31 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01967/1.218, allocations: 7.225 MB / 1.394 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01261/1.231, allocations: 4.197 MB / 1.398 GB, free: 9.559 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/1.242, allocations: 4.191 MB / 1.403 GB, free: 7.805 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004613/1.247, allocations: 0.7155 MB / 1.403 GB, free: 7.801 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009187/1.256, allocations: 1.748 MB / 1.405 GB, free: 7.398 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.009104/1.265, allocations: 2.887 MB / 1.408 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01442/1.279, allocations: 3.376 MB / 1.411 GB, free: 4.004 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02764/1.307, allocations: 11.19 MB / 1.422 GB, free: 13.12 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.307, allocations: 5.094 kB / 1.422 GB, free: 13.12 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.866e-06/1.307, allocations: 0 / 1.422 GB, free: 13.12 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005661/1.308, allocations: 7.938 kB / 1.422 GB, free: 13.11 MB / 1.107 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.02796/1.336, allocations: 6.112 MB / 1.428 GB, free: 8.988 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/1.336, allocations: 9.156 kB / 1.428 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.346, allocations: 1.164 MB / 1.429 GB, free: 8.434 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/1.359, allocations: 3.521 MB / 1.433 GB, free: 6.109 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/1.36, allocations: 383.7 kB / 1.433 GB, free: 5.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003254/1.363, allocations: 496.6 kB / 1.433 GB, free: 5.762 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/1.392, allocations: 7.973 MB / 1.441 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/1.393, allocations: 23.88 kB / 1.441 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00291/1.396, allocations: 216 kB / 1.441 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001446/1.397, allocations: 441.5 kB / 1.442 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/1.416, allocations: 6.081 MB / 1.448 GB, free: 8.266 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06268/1.478, allocations: 34.95 MB / 1.482 GB, free: 2.145 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.482, allocations: 1.923 MB / 1.484 GB, free: 220 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/1.484, allocations: 1.752 MB / 1.486 GB, free: 14.47 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/1.485, allocations: 18 kB / 1.486 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/1.485, allocations: 68.5 kB / 1.486 GB, free: 14.38 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 3.557e-06/1.485, allocations: 0 / 1.486 GB, free: 14.38 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1558/1.64, allocations: 38.85 MB / 1.524 GB, free: 7.422 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/1.64, allocations: 81.52 kB / 1.524 GB, free: 7.328 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/1.644, allocations: 2.286 MB / 1.526 GB, free: 5.027 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005442/1.645, allocations: 73.7 kB / 1.526 GB, free: 4.949 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.647, allocations: 2.338 MB / 1.528 GB, free: 2.594 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.648, allocations: 0.976 MB / 1.529 GB, free: 1.609 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/1.649, allocations: 0.5063 MB / 1.53 GB, free: 1.094 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.65, allocations: 309.1 kB / 1.53 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.653, allocations: 1.973 MB / 1.532 GB, free: 14.81 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/1.657, allocations: 2.599 MB / 1.534 GB, free: 11.97 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00823/1.665, allocations: 4.929 MB / 1.539 GB, free: 6.766 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/1.665, allocations: 8 kB / 1.539 GB, free: 6.758 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01716/1.683, allocations: 7.642 MB / 1.547 GB, free: 15.05 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/1.683, allocations: 15.98 kB / 1.547 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/1.683, allocations: 20 kB / 1.547 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.693, allocations: 3.21 MB / 1.55 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/1.695, allocations: 407.2 kB / 1.55 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05461/1.75, allocations: 33.91 MB / 1.583 GB, free: 8.621 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.754, allocations: 163.8 kB / 1.584 GB, free: 8.461 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005731/1.754, allocations: 104 kB / 1.584 GB, free: 8.359 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.004874/1.759, allocations: 1.805 MB / 1.585 GB, free: 6.543 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.76, allocations: 345.8 kB / 1.586 GB, free: 6.203 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.776, allocations: 7.239 MB / 1.593 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.777, allocations: 32 kB / 1.593 GB, free: 14.85 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/1.777, allocations: 28 kB / 1.593 GB, free: 14.82 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.895e-05/1.777, allocations: 11.95 kB / 1.593 GB, free: 14.81 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.806, allocations: 12.8 MB / 1.605 GB, free: 1.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/1.806, allocations: 12.19 kB / 1.605 GB, free: 1.828 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.807, allocations: 227.6 kB / 1.606 GB, free: 1.605 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009685/1.816, allocations: 2.857 MB / 1.608 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004872/1.817, allocations: 52 kB / 1.608 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0503/1.867, allocations: 32.7 MB / 1.64 GB, free: 13.12 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.867, allocations: 8.312 kB / 1.64 GB, free: 13.12 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/1.882, allocations: 6.779 MB / 1.647 GB, free: 6.125 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/1.884, allocations: 0.7956 MB / 1.648 GB, free: 5.309 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008527/1.885, allocations: 56 kB / 1.648 GB, free: 5.254 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.887, allocations: 175.7 kB / 1.648 GB, free: 5.082 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.888, allocations: 249.5 kB / 1.648 GB, free: 4.836 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.889, allocations: 80 kB / 1.648 GB, free: 4.758 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002733/1.891, allocations: 1.521 MB / 1.65 GB, free: 3.234 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/1.891, allocations: 0 / 1.65 GB, free: 3.234 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.006102/1.897, allocations: 1.371 MB / 1.651 GB, free: 1.863 MB / 1.326 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.0005406/1.898, allocations: 179 kB / 1.651 GB, free: 1.68 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.913, allocations: 6.571 MB / 1.658 GB, free: 11.02 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/1.914, allocations: 0 / 1.658 GB, free: 11.02 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.01032/1.924, allocations: 4.245 MB / 1.662 GB, free: 6.691 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.93, allocations: 1.117 MB / 1.663 GB, free: 5.602 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.954, allocations: 10.93 MB / 1.674 GB, free: 10.57 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006097/1.96, allocations: 3.757 MB / 1.677 GB, free: 6.777 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/1.961, allocations: 171.4 kB / 1.677 GB, free: 6.609 MB / 1.357 GB Notification: Performance of SimCode: time 1.313e-06/1.961, allocations: 0 / 1.677 GB, free: 6.609 MB / 1.357 GB Notification: Performance of Templates: time 1.109/3.07, allocations: 227.9 MB / 1.9 GB, free: 476.6 MB / 1.545 GB " [Timeout remaining time 297] 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 -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: 28.20714383100858]