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.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.001375/0.001375, allocations: 106 kB / 18.94 MB, free: 2.953 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.001561/0.001561, allocations: 197.4 kB / 22.23 MB, free: 5.129 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.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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 0.002041/0.002041, allocations: 68.7 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01012/0.3627, allocations: 7.073 MB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.3686, allocations: 3.2 MB / 1.317 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.3692, allocations: 39.62 kB / 1.317 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.3718, allocations: 0.9876 MB / 1.318 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3733, allocations: 0.5284 MB / 1.319 GB, free: 5.988 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3745, allocations: 451 kB / 1.319 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.3763, allocations: 1.225 MB / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.3772, allocations: 490.7 kB / 1.321 GB, free: 3.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.3779, allocations: 486.3 kB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.3787, allocations: 0.5448 MB / 1.322 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.3788, allocations: 68 kB / 1.322 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.3796, allocations: 391.2 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.3799, allocations: 319 kB / 1.323 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.3804, allocations: 461.7 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.3819, allocations: 1.226 MB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3819, allocations: 4 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3819, allocations: 0 / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.3819, allocations: 0 / 1.324 GB, free: 368 kB / 1.014 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.002044/0.384, allocations: 1.112 MB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.384, allocations: 12.92 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.3855, allocations: 236.1 kB / 1.326 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3867, allocations: 0.5359 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.3867, allocations: 53.67 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3868, allocations: 68.36 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3885, allocations: 1.077 MB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3885, allocations: 7.938 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.3886, allocations: 27.98 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/0.3887, allocations: 85.25 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.39, allocations: 0.7581 MB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.3962, allocations: 5.815 MB / 1.334 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3973, allocations: 0.5047 MB / 1.334 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.3977, allocations: 282 kB / 1.335 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.3978, allocations: 8.438 kB / 1.335 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3978, allocations: 39 kB / 1.335 GB, free: 5.145 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 4.107e-06/0.3978, allocations: 7.984 kB / 1.335 GB, free: 5.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.003908/0.4017, allocations: 1.682 MB / 1.336 GB, free: 3.434 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4018, allocations: 59.84 kB / 1.336 GB, free: 3.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.4025, allocations: 0.5664 MB / 1.337 GB, free: 2.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4025, allocations: 37.7 kB / 1.337 GB, free: 2.746 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.4029, allocations: 432 kB / 1.337 GB, free: 2.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4031, allocations: 178.5 kB / 1.338 GB, free: 2.145 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4033, allocations: 126.6 kB / 1.338 GB, free: 2.016 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.4035, allocations: 370.8 kB / 1.338 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.404, allocations: 277.8 kB / 1.338 GB, free: 1.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.4046, allocations: 0.4892 MB / 1.339 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4058, allocations: 0.8083 MB / 1.34 GB, free: 15.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4058, allocations: 4 kB / 1.34 GB, free: 15.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001925/0.4077, allocations: 1.082 MB / 1.341 GB, free: 14.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.4078, allocations: 8 kB / 1.341 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4078, allocations: 8 kB / 1.341 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008618/0.4087, allocations: 275.3 kB / 1.341 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.4091, allocations: 127.8 kB / 1.341 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007682/0.4168, allocations: 6.733 MB / 1.348 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.4174, allocations: 31.97 kB / 1.348 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.4175, allocations: 32 kB / 1.348 GB, free: 7.098 MB / 1.045 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.000383/0.4178, allocations: 262.2 kB / 1.348 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.418, allocations: 75.69 kB / 1.348 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.4197, allocations: 0.8769 MB / 1.349 GB, free: 5.859 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4197, allocations: 8 kB / 1.349 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4197, allocations: 0 / 1.349 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4197, allocations: 4 kB / 1.349 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.4227, allocations: 1.696 MB / 1.35 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4227, allocations: 0 / 1.35 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.423, allocations: 64.02 kB / 1.351 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/0.4237, allocations: 263.4 kB / 1.351 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.4238, allocations: 12 kB / 1.351 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/0.4309, allocations: 6.722 MB / 1.357 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4309, allocations: 0 / 1.357 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4326, allocations: 0.9802 MB / 1.358 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.4329, allocations: 127.3 kB / 1.358 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.433, allocations: 8 kB / 1.358 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.4333, allocations: 39.95 kB / 1.358 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4334, allocations: 39.92 kB / 1.359 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.4335, allocations: 12 kB / 1.359 GB, free: 11.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004747/0.434, allocations: 387.1 kB / 1.359 GB, free: 10.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.434, allocations: 4 kB / 1.359 GB, free: 10.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000821/0.4348, allocations: 224 kB / 1.359 GB, free: 10.7 MB / 1.061 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.0001756/0.4349, allocations: 115.2 kB / 1.359 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.437, allocations: 1.232 MB / 1.36 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.437, allocations: 0 / 1.36 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.4383, allocations: 0.8657 MB / 1.361 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4393, allocations: 226.2 kB / 1.362 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4417, allocations: 1.362 MB / 1.363 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.4424, allocations: 1.013 MB / 1.364 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.4428, allocations: 122 kB / 1.364 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4429, allocations: 43.44 kB / 1.364 GB, free: 5.543 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/0.4429, allocations: 3.938 kB / 1.364 GB, free: 5.539 MB / 1.061 GB Notification: Performance of Templates: time 0.02251/0.4654, allocations: 11.85 MB / 1.376 GB, free: 9.82 MB / 1.076 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: 9.466628804802895]