Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001694/0.001694, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001527/0.001527, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.887/2.887, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.664e-05/3.862e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01063/0.01067, allocations: 6.477 MB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006905/0.01757, allocations: 3.026 MB / 0.8201 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.01849, allocations: 40.91 kB / 0.8201 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.02171, allocations: 0.9522 MB / 0.8211 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.02364, allocations: 0.5324 MB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.02514, allocations: 451.1 kB / 0.822 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002176/0.02732, allocations: 1.271 MB / 0.8232 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.02859, allocations: 0.5295 MB / 0.8238 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.03024, allocations: 0.6707 MB / 0.8244 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.03139, allocations: 483.5 kB / 0.8249 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.03159, allocations: 68 kB / 0.8249 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.03258, allocations: 344.8 kB / 0.8253 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005277/0.03311, allocations: 335 kB / 0.8256 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.0338, allocations: 311.3 kB / 0.8259 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.03597, allocations: 1.246 MB / 0.8271 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.03598, allocations: 4.938 kB / 0.8271 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.03598, allocations: 0 / 0.8271 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.563e-05/0.03603, allocations: 0 / 0.8271 GB, free: 1.422 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002685/0.03872, allocations: 1.103 MB / 0.8282 GB, free: 296 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.03876, allocations: 8.531 kB / 0.8282 GB, free: 288 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.04072, allocations: 353.6 kB / 0.8285 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.042, allocations: 0.5743 MB / 0.8291 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.04207, allocations: 50.7 kB / 0.8291 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.04223, allocations: 68.36 kB / 0.8292 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.04446, allocations: 1.33 MB / 0.8305 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.04449, allocations: 8.125 kB / 0.8305 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.04458, allocations: 32.36 kB / 0.8305 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.04477, allocations: 90.44 kB / 0.8306 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.04631, allocations: 0.7481 MB / 0.8314 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.05288, allocations: 4.535 MB / 0.8358 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.05404, allocations: 0.508 MB / 0.8363 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.05455, allocations: 289.5 kB / 0.8366 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.05459, allocations: 8.5 kB / 0.8366 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.05463, allocations: 39.06 kB / 0.8366 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.05463, allocations: 0 / 0.8366 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.004397/0.05903, allocations: 1.698 MB / 0.8383 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.05909, allocations: 55.91 kB / 0.8383 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.05997, allocations: 0.5184 MB / 0.8388 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.06002, allocations: 33.7 kB / 0.8389 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.06039, allocations: 431.8 kB / 0.8393 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.06058, allocations: 178.5 kB / 0.8394 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.06081, allocations: 122.6 kB / 0.8396 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.06105, allocations: 366.8 kB / 0.8399 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.06154, allocations: 277.8 kB / 0.8402 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.06224, allocations: 489.7 kB / 0.8406 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.06352, allocations: 0.8164 MB / 0.8414 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.06352, allocations: 0 / 0.8414 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002253/0.06577, allocations: 1.102 MB / 0.8425 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.0658, allocations: 11.98 kB / 0.8425 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.06582, allocations: 11.94 kB / 0.8425 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.06751, allocations: 383 kB / 0.8429 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.06803, allocations: 119.8 kB / 0.843 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008525/0.07656, allocations: 6.611 MB / 0.8495 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.0773, allocations: 35.97 kB / 0.8495 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.07742, allocations: 31.94 kB / 0.8495 GB, free: 9.379 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005563/0.07798, allocations: 249.5 kB / 0.8498 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.07823, allocations: 95.67 kB / 0.8499 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.08022, allocations: 0.8779 MB / 0.8507 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.08023, allocations: 4 kB / 0.8507 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.08024, allocations: 4 kB / 0.8507 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.08025, allocations: 7.922 kB / 0.8507 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.08335, allocations: 1.529 MB / 0.8522 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001634/0.08351, allocations: 4 kB / 0.8522 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.08382, allocations: 67.88 kB / 0.8523 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.08537, allocations: 351.3 kB / 0.8526 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.08542, allocations: 11.98 kB / 0.8526 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008201/0.09362, allocations: 6.607 MB / 0.8591 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.09363, allocations: 4.031 kB / 0.8591 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.09577, allocations: 0.9898 MB / 0.8601 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.09614, allocations: 107.6 kB / 0.8602 GB, free: 13.92 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.09627, allocations: 11.95 kB / 0.8602 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.09673, allocations: 31.97 kB / 0.8602 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.09688, allocations: 51.78 kB / 0.8603 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.09692, allocations: 16 kB / 0.8603 GB, free: 13.81 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005158/0.09743, allocations: 346.8 kB / 0.8606 GB, free: 13.47 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.09743, allocations: 4 kB / 0.8606 GB, free: 13.47 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009728/0.09841, allocations: 220 kB / 0.8608 GB, free: 13.25 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.09862, allocations: 111.2 kB / 0.8609 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.101, allocations: 1.246 MB / 0.8621 GB, free: 11.84 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.101, allocations: 0 / 0.8621 GB, free: 11.84 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.1025, allocations: 0.8577 MB / 0.863 GB, free: 10.93 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.1035, allocations: 203.1 kB / 0.8632 GB, free: 10.74 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.1063, allocations: 1.365 MB / 0.8645 GB, free: 9.316 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.1069, allocations: 420.8 kB / 0.8649 GB, free: 8.879 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004242/0.1074, allocations: 121.5 kB / 0.865 GB, free: 8.758 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1075, allocations: 40.5 kB / 0.8651 GB, free: 8.719 MB / 0.823 GB Notification: Performance of SimCode: time 8.62e-07/0.1075, allocations: 0 / 0.8651 GB, free: 8.719 MB / 0.823 GB Notification: Performance of Templates: time 0.02303/0.1305, allocations: 11.34 MB / 0.8761 GB, free: 13.64 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 8.327099988004193]