Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001945/0.001945, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002823/0.002823, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002211/0.002211, allocations: 61.59 kB / 1.184 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3526, allocations: 181.4 MB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01071/0.3633, allocations: 7.08 MB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005681/0.369, allocations: 3.223 MB / 1.372 GB, free: 5.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.3695, allocations: 39.62 kB / 1.372 GB, free: 5.781 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.3721, allocations: 0.9905 MB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3734, allocations: 0.5206 MB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3746, allocations: 447 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.3761, allocations: 1.236 MB / 1.375 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.377, allocations: 0.5373 MB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.3777, allocations: 494.2 kB / 1.376 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.3785, allocations: 0.5487 MB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.3787, allocations: 64 kB / 1.376 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.3794, allocations: 387.2 kB / 1.377 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.3799, allocations: 331 kB / 1.377 GB, free: 248 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005898/0.3805, allocations: 445.8 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.3821, allocations: 1.226 MB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3821, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3821, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3821, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.076 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.001997/0.3841, allocations: 1.123 MB / 1.38 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3841, allocations: 11.97 kB / 1.38 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.3857, allocations: 240.1 kB / 1.38 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3867, allocations: 0.5359 MB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.3868, allocations: 53.67 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3869, allocations: 64.36 kB / 1.381 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3884, allocations: 1.089 MB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3884, allocations: 0 / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.3885, allocations: 31.98 kB / 1.382 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.3887, allocations: 89.25 kB / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3899, allocations: 0.7503 MB / 1.382 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00647/0.3963, allocations: 5.807 MB / 1.388 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3974, allocations: 0.5085 MB / 1.389 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.3978, allocations: 292.5 kB / 1.389 GB, free: 3.398 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.3978, allocations: 8.438 kB / 1.389 GB, free: 3.391 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3979, allocations: 43 kB / 1.389 GB, free: 3.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/0.3979, allocations: 0 / 1.389 GB, free: 3.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003805/0.4017, allocations: 1.682 MB / 1.391 GB, free: 1.637 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4017, allocations: 55.84 kB / 1.391 GB, free: 1.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.4024, allocations: 0.5665 MB / 1.391 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.4025, allocations: 37.7 kB / 1.391 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.4028, allocations: 428 kB / 1.392 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.403, allocations: 182.5 kB / 1.392 GB, free: 360 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.4032, allocations: 122.6 kB / 1.392 GB, free: 232 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4034, allocations: 378.7 kB / 1.392 GB, free: 15.85 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.4038, allocations: 273.8 kB / 1.393 GB, free: 15.58 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.4045, allocations: 0.4892 MB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.4056, allocations: 0.8122 MB / 1.394 GB, free: 14.08 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4056, allocations: 4 kB / 1.394 GB, free: 14.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001896/0.4075, allocations: 1.074 MB / 1.395 GB, free: 12.99 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4075, allocations: 8 kB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4075, allocations: 8 kB / 1.395 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/0.4083, allocations: 279.4 kB / 1.395 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.4088, allocations: 127.7 kB / 1.395 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.4162, allocations: 6.725 MB / 1.402 GB, free: 5.375 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.4167, allocations: 39.95 kB / 1.402 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.4168, allocations: 28 kB / 1.402 GB, free: 5.309 MB / 1.092 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.0004589/0.4172, allocations: 261.5 kB / 1.402 GB, free: 5.043 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4173, allocations: 75.53 kB / 1.402 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.419, allocations: 0.8808 MB / 1.403 GB, free: 4.062 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.419, allocations: 4 kB / 1.403 GB, free: 4.059 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.419, allocations: 4 kB / 1.403 GB, free: 4.055 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.419, allocations: 4 kB / 1.403 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.4218, allocations: 1.692 MB / 1.405 GB, free: 2.277 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.4218, allocations: 4 kB / 1.405 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.4221, allocations: 67.95 kB / 1.405 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/0.4229, allocations: 263.4 kB / 1.405 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.4229, allocations: 12 kB / 1.405 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007228/0.4301, allocations: 6.708 MB / 1.412 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.4301, allocations: 4.031 kB / 1.412 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.4318, allocations: 0.976 MB / 1.413 GB, free: 9.727 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4322, allocations: 127.5 kB / 1.413 GB, free: 9.602 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.4322, allocations: 8 kB / 1.413 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.4326, allocations: 35.89 kB / 1.413 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4327, allocations: 43.92 kB / 1.413 GB, free: 9.516 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4328, allocations: 8 kB / 1.413 GB, free: 9.508 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004977/0.4333, allocations: 391.1 kB / 1.413 GB, free: 9.133 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4333, allocations: 3.938 kB / 1.413 GB, free: 9.129 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009027/0.4342, allocations: 228 kB / 1.413 GB, free: 8.906 MB / 1.107 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.0001749/0.4343, allocations: 111.2 kB / 1.413 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.4364, allocations: 1.24 MB / 1.415 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4364, allocations: 0 / 1.415 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.4377, allocations: 0.8658 MB / 1.416 GB, free: 6.578 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.4388, allocations: 226.9 kB / 1.416 GB, free: 6.359 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4411, allocations: 1.379 MB / 1.417 GB, free: 4.934 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.4419, allocations: 1.009 MB / 1.418 GB, free: 3.895 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.4422, allocations: 114 kB / 1.418 GB, free: 3.781 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.4424, allocations: 47.42 kB / 1.418 GB, free: 3.734 MB / 1.107 GB Notification: Performance of SimCode: time 8.71e-07/0.4424, allocations: 4 kB / 1.418 GB, free: 3.73 MB / 1.107 GB Notification: Performance of Templates: time 0.0222/0.4646, allocations: 11.86 MB / 1.43 GB, free: 8.012 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.645471144001931]