Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 1.136 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04209/1.114, allocations: 39.8 MB / 1.344 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02363/1.137, allocations: 11.39 MB / 1.355 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006952/1.144, allocations: 158.4 kB / 1.356 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01418/1.158, allocations: 4.525 MB / 1.36 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/1.168, allocations: 2.342 MB / 1.362 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008346/1.177, allocations: 2.231 MB / 1.364 GB, free: 10.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01685/1.194, allocations: 9.28 MB / 1.374 GB, free: 5.793 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01526/1.209, allocations: 5.982 MB / 1.379 GB, free: 2.781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/1.221, allocations: 4.047 MB / 1.383 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/1.234, allocations: 4.759 MB / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004507/1.239, allocations: 0.823 MB / 1.389 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00791/1.247, allocations: 1.605 MB / 1.39 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.009375/1.256, allocations: 3.234 MB / 1.393 GB, free: 13.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0154/1.271, allocations: 3.658 MB / 1.397 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02897/1.3, allocations: 12.35 MB / 1.409 GB, free: 4.855 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.3, allocations: 1.625 kB / 1.409 GB, free: 4.855 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.204e-06/1.3, allocations: 0 / 1.409 GB, free: 4.855 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0006056/1.301, allocations: 0 / 1.409 GB, free: 4.855 MB / 1.092 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.02848/1.33, allocations: 6.468 MB / 1.415 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.33, allocations: 9.594 kB / 1.415 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008903/1.339, allocations: 1.101 MB / 1.417 GB, free: 36 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/1.349, allocations: 3.626 MB / 1.42 GB, free: 13.7 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005234/1.349, allocations: 424.9 kB / 1.42 GB, free: 13.51 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/1.353, allocations: 0.5451 MB / 1.421 GB, free: 13.32 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/1.387, allocations: 9.381 MB / 1.43 GB, free: 7.574 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002553/1.387, allocations: 20.16 kB / 1.43 GB, free: 7.562 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/1.39, allocations: 247.9 kB / 1.43 GB, free: 7.379 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007492/1.391, allocations: 425.8 kB / 1.431 GB, free: 7.273 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/1.411, allocations: 7.122 MB / 1.438 GB, free: 0.8242 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.066/1.477, allocations: 41.06 MB / 1.478 GB, free: 4.023 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/1.482, allocations: 2.917 MB / 1.481 GB, free: 1.102 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/1.485, allocations: 1.938 MB / 1.483 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1.486, allocations: 29.98 kB / 1.483 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/1.486, allocations: 60.56 kB / 1.483 GB, free: 15.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=209): time 3.607e-06/1.486, allocations: 0 / 1.483 GB, free: 15.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=212): time 0.02687/1.512, allocations: 10.57 MB / 1.493 GB, free: 4.406 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/1.513, allocations: 77.34 kB / 1.493 GB, free: 4.316 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/1.516, allocations: 2.013 MB / 1.495 GB, free: 2.285 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000461/1.516, allocations: 65.64 kB / 1.495 GB, free: 2.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002251/1.519, allocations: 2.474 MB / 1.498 GB, free: 15.71 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.52, allocations: 0.763 MB / 1.498 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009206/1.521, allocations: 481.5 kB / 1.499 GB, free: 14.47 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.521, allocations: 305.1 kB / 1.499 GB, free: 14.17 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.523, allocations: 1.372 MB / 1.5 GB, free: 12.79 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/1.526, allocations: 2.108 MB / 1.502 GB, free: 10.37 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/1.532, allocations: 3.77 MB / 1.506 GB, free: 6.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/1.532, allocations: 4 kB / 1.506 GB, free: 6.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009581/1.541, allocations: 5.035 MB / 1.511 GB, free: 1.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.541, allocations: 12 kB / 1.511 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/1.541, allocations: 24 kB / 1.511 GB, free: 1.195 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/1.545, allocations: 1.582 MB / 1.513 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.547, allocations: 459.2 kB / 1.513 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02524/1.572, allocations: 18.59 MB / 1.531 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/1.575, allocations: 143.9 kB / 1.531 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.575, allocations: 104 kB / 1.531 GB, free: 11.76 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.004558/1.58, allocations: 1.949 MB / 1.533 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008603/1.58, allocations: 302.2 kB / 1.534 GB, free: 9.504 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/1.588, allocations: 4.4 MB / 1.538 GB, free: 5.07 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/1.588, allocations: 20 kB / 1.538 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.588, allocations: 16 kB / 1.538 GB, free: 5.035 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.588, allocations: 7.969 kB / 1.538 GB, free: 5.027 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.608, allocations: 9.621 MB / 1.547 GB, free: 11.26 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.608, allocations: 4 kB / 1.547 GB, free: 11.26 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.609, allocations: 235.6 kB / 1.548 GB, free: 11.03 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003687/1.613, allocations: 1.423 MB / 1.549 GB, free: 9.594 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/1.613, allocations: 40 kB / 1.549 GB, free: 9.555 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02561/1.639, allocations: 18.6 MB / 1.567 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.639, allocations: 11.94 kB / 1.567 GB, free: 6.383 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/1.647, allocations: 4.503 MB / 1.572 GB, free: 1.789 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.649, allocations: 0.6436 MB / 1.572 GB, free: 1.125 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/1.65, allocations: 43.94 kB / 1.572 GB, free: 1.082 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.651, allocations: 115.9 kB / 1.572 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/1.652, allocations: 181.6 kB / 1.573 GB, free: 0.793 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.652, allocations: 60 kB / 1.573 GB, free: 0.7344 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002008/1.654, allocations: 1.311 MB / 1.574 GB, free: 15.41 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/1.654, allocations: 0 / 1.574 GB, free: 15.41 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003939/1.658, allocations: 1.145 MB / 1.575 GB, free: 14.27 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.0003788/1.658, allocations: 171 kB / 1.575 GB, free: 14.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008053/1.666, allocations: 4.535 MB / 1.58 GB, free: 9.512 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.666, allocations: 5 kB / 1.58 GB, free: 9.508 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005031/1.671, allocations: 2.804 MB / 1.582 GB, free: 6.648 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.676, allocations: 0.8971 MB / 1.583 GB, free: 5.766 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.699, allocations: 9.572 MB / 1.593 GB, free: 12.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005641/1.705, allocations: 3.69 MB / 1.596 GB, free: 8.375 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002157/1.707, allocations: 0.5479 MB / 1.597 GB, free: 7.82 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.707, allocations: 151.4 kB / 1.597 GB, free: 7.672 MB / 1.279 GB Notification: Performance of SimCode: time 1.483e-06/1.707, allocations: 0 / 1.597 GB, free: 7.672 MB / 1.279 GB Notification: Performance of Templates: time 0.1057/1.813, allocations: 53.22 MB / 1.649 GB, free: 3.16 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.544769156724215]