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.001657/0.001657, allocations: 118.8 kB / 17.13 MB, free: 6.027 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.002038/0.002038, allocations: 209.5 kB / 20.1 MB, free: 3.074 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.61/1.61, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.031/3.031, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.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: 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.002071/0.002071, allocations: 63.91 kB / 1.15 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 176.1 MB / 1.322 GB, free: 7.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009943/1.038, allocations: 6.908 MB / 1.329 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005855/1.043, allocations: 3.148 MB / 1.332 GB, free: 128 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00073/1.044, allocations: 39 kB / 1.332 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/1.047, allocations: 0.958 MB / 1.333 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/1.048, allocations: 0.5237 MB / 1.333 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.05, allocations: 443.9 kB / 1.334 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001633/1.051, allocations: 1.232 MB / 1.335 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/1.052, allocations: 0.5295 MB / 1.335 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008256/1.053, allocations: 0.4899 MB / 1.336 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/1.054, allocations: 0.5474 MB / 1.336 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/1.054, allocations: 67.12 kB / 1.336 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007934/1.055, allocations: 383.3 kB / 1.337 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/1.055, allocations: 323.9 kB / 1.337 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/1.055, allocations: 453.2 kB / 1.338 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/1.057, allocations: 1.226 MB / 1.339 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.057, allocations: 0 / 1.339 GB, free: 11.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/1.057, allocations: 0 / 1.339 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.057, allocations: 4 kB / 1.339 GB, free: 11.45 MB / 1.029 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.002083/1.059, allocations: 1.192 MB / 1.34 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.059, allocations: 17.2 kB / 1.34 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.061, allocations: 233.7 kB / 1.34 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/1.062, allocations: 0.6136 MB / 1.341 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/1.062, allocations: 51.27 kB / 1.341 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.062, allocations: 62.14 kB / 1.341 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.064, allocations: 1.087 MB / 1.342 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/1.064, allocations: 6.5 kB / 1.342 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/1.064, allocations: 29.5 kB / 1.342 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/1.064, allocations: 85.06 kB / 1.342 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.065, allocations: 0.7495 MB / 1.343 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/1.072, allocations: 5.894 MB / 1.349 GB, free: 3.176 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.073, allocations: 0.511 MB / 1.349 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/1.073, allocations: 285.9 kB / 1.349 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/1.073, allocations: 5.812 kB / 1.349 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.073, allocations: 37.28 kB / 1.349 GB, free: 2.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/1.073, allocations: 1.125 kB / 1.349 GB, free: 2.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.004558/1.078, allocations: 1.99 MB / 1.351 GB, free: 1.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.078, allocations: 57.09 kB / 1.351 GB, free: 1.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/1.079, allocations: 0.5626 MB / 1.352 GB, free: 1.008 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/1.079, allocations: 32.23 kB / 1.352 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.079, allocations: 434.4 kB / 1.352 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/1.079, allocations: 176.1 kB / 1.353 GB, free: 448 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/1.08, allocations: 135.5 kB / 1.353 GB, free: 360 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002414/1.08, allocations: 378.4 kB / 1.353 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/1.08, allocations: 275.3 kB / 1.353 GB, free: 15.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/1.081, allocations: 489.5 kB / 1.354 GB, free: 15.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.082, allocations: 0.8131 MB / 1.355 GB, free: 14.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.082, allocations: 2.188 kB / 1.355 GB, free: 14.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002054/1.084, allocations: 1.077 MB / 1.356 GB, free: 14.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.084, allocations: 13.77 kB / 1.356 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.084, allocations: 11.05 kB / 1.356 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000927/1.085, allocations: 280.5 kB / 1.356 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/1.086, allocations: 125.2 kB / 1.356 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/1.093, allocations: 7.13 MB / 1.363 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/1.094, allocations: 39.03 kB / 1.363 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/1.094, allocations: 35.36 kB / 1.363 GB, free: 7.379 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.0004456/1.095, allocations: 250.7 kB / 1.363 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.095, allocations: 76.28 kB / 1.363 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/1.096, allocations: 0.8791 MB / 1.364 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.096, allocations: 5.5 kB / 1.364 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.096, allocations: 3.562 kB / 1.364 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.096, allocations: 7.969 kB / 1.364 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/1.099, allocations: 1.722 MB / 1.366 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.099, allocations: 1.219 kB / 1.366 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/1.1, allocations: 63.83 kB / 1.366 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/1.1, allocations: 270 kB / 1.366 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/1.1, allocations: 11.58 kB / 1.366 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007557/1.108, allocations: 7.134 MB / 1.373 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.108, allocations: 5.469 kB / 1.373 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/1.11, allocations: 0.9754 MB / 1.374 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/1.11, allocations: 197 kB / 1.374 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/1.11, allocations: 12.53 kB / 1.374 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/1.111, allocations: 32.75 kB / 1.374 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.111, allocations: 43.66 kB / 1.374 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.111, allocations: 13.91 kB / 1.374 GB, free: 13.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005112/1.111, allocations: 389.2 kB / 1.375 GB, free: 13.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.111, allocations: 0 / 1.375 GB, free: 13.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001043/1.112, allocations: 224.4 kB / 1.375 GB, free: 13.39 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.0001942/1.113, allocations: 123.2 kB / 1.375 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002151/1.115, allocations: 1.236 MB / 1.376 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.115, allocations: 0 / 1.376 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/1.116, allocations: 0.8619 MB / 1.377 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/1.117, allocations: 224.7 kB / 1.377 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/1.12, allocations: 1.423 MB / 1.379 GB, free: 9.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/1.121, allocations: 1.017 MB / 1.38 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.121, allocations: 47.44 kB / 1.38 GB, free: 8.277 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/1.121, allocations: 0 / 1.38 GB, free: 8.277 MB / 1.061 GB Notification: Performance of Templates: time 0.02705/1.148, allocations: 20.96 MB / 1.4 GB, free: 3.375 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins1/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: 15.811841759990784]