Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002067/0.002067, allocations: 214 kB / 22.99 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.255/3.255, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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_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_12_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_12_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.002168/0.002168, allocations: 65.86 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.372, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04881/0.4208, allocations: 36.44 MB / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.4421, allocations: 11.11 MB / 1.373 GB, free: 2.141 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.4457, allocations: 198.6 kB / 1.373 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.4583, allocations: 4.392 MB / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007542/0.4659, allocations: 2.324 MB / 1.379 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.4724, allocations: 2.184 MB / 1.382 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.4857, allocations: 9.273 MB / 1.391 GB, free: 15.72 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.4972, allocations: 6.325 MB / 1.397 GB, free: 9.273 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008084/0.5053, allocations: 4.133 MB / 1.401 GB, free: 5.129 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008872/0.5142, allocations: 4.458 MB / 1.405 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002741/0.5169, allocations: 0.8204 MB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.5221, allocations: 1.51 MB / 1.408 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005669/0.5277, allocations: 3.227 MB / 1.411 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.009979/0.5377, allocations: 2.973 MB / 1.414 GB, free: 8.105 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5558, allocations: 12.4 MB / 1.426 GB, free: 11.67 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5558, allocations: 0 / 1.426 GB, free: 11.67 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5558, allocations: 3.938 kB / 1.426 GB, free: 11.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003845/0.5562, allocations: 0 / 1.426 GB, free: 11.66 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01861/0.5748, allocations: 6.403 MB / 1.432 GB, free: 5.199 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5748, allocations: 8.031 kB / 1.432 GB, free: 5.191 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006751/0.5816, allocations: 1.102 MB / 1.433 GB, free: 4.086 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009474/0.5911, allocations: 3.576 MB / 1.437 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.5916, allocations: 419.8 kB / 1.437 GB, free: 36 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/0.5941, allocations: 0.5472 MB / 1.437 GB, free: 15.49 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/0.6194, allocations: 10.28 MB / 1.447 GB, free: 4.648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.6196, allocations: 23.77 kB / 1.448 GB, free: 4.625 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/0.6209, allocations: 248 kB / 1.448 GB, free: 4.383 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006995/0.6216, allocations: 418.9 kB / 1.448 GB, free: 3.973 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.6384, allocations: 7.12 MB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04649/0.6849, allocations: 25.35 MB / 1.48 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.6902, allocations: 2.902 MB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/0.6935, allocations: 1.93 MB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.6936, allocations: 22 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.6937, allocations: 60.56 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 6.682e-06/0.6937, allocations: 7.984 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02613/0.7198, allocations: 10.25 MB / 1.495 GB, free: 3.676 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.7199, allocations: 77.34 kB / 1.495 GB, free: 3.586 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.723, allocations: 1.837 MB / 1.497 GB, free: 1.719 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.7233, allocations: 65.7 kB / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.7254, allocations: 2.477 MB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009623/0.7264, allocations: 0.7707 MB / 1.5 GB, free: 14.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008267/0.7272, allocations: 481.5 kB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7273, allocations: 301.1 kB / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.7295, allocations: 1.379 MB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.7324, allocations: 2.104 MB / 1.504 GB, free: 9.797 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.7379, allocations: 3.77 MB / 1.508 GB, free: 5.715 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.7379, allocations: 8 kB / 1.508 GB, free: 5.707 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008995/0.7469, allocations: 5.003 MB / 1.513 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.7469, allocations: 12.94 kB / 1.513 GB, free: 0.668 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.747, allocations: 24 kB / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.7507, allocations: 1.583 MB / 1.514 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.7526, allocations: 459.2 kB / 1.515 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.7771, allocations: 17.78 MB / 1.532 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.7796, allocations: 147.9 kB / 1.532 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/0.78, allocations: 104 kB / 1.532 GB, free: 12.17 MB / 1.232 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.003955/0.784, allocations: 1.946 MB / 1.534 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/0.7847, allocations: 282.3 kB / 1.534 GB, free: 9.938 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/0.7925, allocations: 4.393 MB / 1.539 GB, free: 5.516 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.7925, allocations: 24 kB / 1.539 GB, free: 5.492 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/0.7925, allocations: 16 kB / 1.539 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.7925, allocations: 11.91 kB / 1.539 GB, free: 5.465 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.8089, allocations: 8.346 MB / 1.547 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.8089, allocations: 8 kB / 1.547 GB, free: 12.99 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.81, allocations: 231.6 kB / 1.547 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/0.8135, allocations: 1.424 MB / 1.548 GB, free: 11.33 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/0.8137, allocations: 40 kB / 1.548 GB, free: 11.29 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/0.8383, allocations: 17.8 MB / 1.566 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.8383, allocations: 4.156 kB / 1.566 GB, free: 9.078 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/0.8464, allocations: 4.482 MB / 1.57 GB, free: 4.508 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/0.8484, allocations: 0.5489 MB / 1.571 GB, free: 3.957 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/0.8489, allocations: 40 kB / 1.571 GB, free: 3.918 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.8503, allocations: 115.9 kB / 1.571 GB, free: 3.805 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/0.8508, allocations: 189.5 kB / 1.571 GB, free: 3.621 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.851, allocations: 56.19 kB / 1.571 GB, free: 3.566 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001816/0.8528, allocations: 1.18 MB / 1.572 GB, free: 2.371 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8528, allocations: 0 / 1.572 GB, free: 2.371 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003769/0.8566, allocations: 1.137 MB / 1.573 GB, free: 1.234 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 (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.0003786/0.8569, allocations: 159 kB / 1.574 GB, free: 1.07 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007942/0.8649, allocations: 4.547 MB / 1.578 GB, free: 12.46 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.8649, allocations: 5 kB / 1.578 GB, free: 12.46 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004971/0.8699, allocations: 2.8 MB / 1.581 GB, free: 9.613 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/0.8738, allocations: 0.8214 MB / 1.582 GB, free: 8.805 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.8943, allocations: 10.33 MB / 1.592 GB, free: 14.37 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005354/0.8996, allocations: 3.252 MB / 1.595 GB, free: 11.07 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.9005, allocations: 155.4 kB / 1.595 GB, free: 10.92 MB / 1.295 GB Notification: Performance of SimCode: time 1.322e-06/0.9005, allocations: 0 / 1.595 GB, free: 10.92 MB / 1.295 GB Notification: Performance of Templates: time 0.9002/1.801, allocations: 173 MB / 1.764 GB, free: 120.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 25.12178632291034]