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.001307/0.001307, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001406/0.001406, allocations: 210.2 kB / 22.99 MB, free: 4.957 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 2.035/2.035, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.3 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.002731/0.002731, allocations: 77.78 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3581, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009922/0.368, allocations: 6.558 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005772/0.3738, allocations: 3.067 MB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.3743, allocations: 43.62 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.377, allocations: 0.9543 MB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.3783, allocations: 0.5206 MB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3794, allocations: 440.7 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3809, allocations: 1.232 MB / 1.34 GB, free: 4.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008412/0.3817, allocations: 0.5451 MB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.3824, allocations: 494.3 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.3832, allocations: 0.5526 MB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3833, allocations: 64 kB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.384, allocations: 347.3 kB / 1.342 GB, free: 2.121 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.3843, allocations: 323 kB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.3847, allocations: 370.3 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.3863, allocations: 1.241 MB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3863, allocations: 0 / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3863, allocations: 0 / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.3863, allocations: 0 / 1.343 GB, free: 200 kB / 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.002031/0.3884, allocations: 1.115 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3884, allocations: 8.031 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.39, allocations: 244.1 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3911, allocations: 0.5321 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.3912, allocations: 57.67 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3913, allocations: 60.36 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.3931, allocations: 1.34 MB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3931, allocations: 11.89 kB / 1.347 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.3932, allocations: 27.98 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.3934, allocations: 85.25 kB / 1.347 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3946, allocations: 0.7542 MB / 1.348 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.4, allocations: 4.535 MB / 1.352 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.401, allocations: 0.5136 MB / 1.352 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.4015, allocations: 286 kB / 1.353 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.4015, allocations: 4.438 kB / 1.353 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4015, allocations: 43 kB / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.4015, allocations: 0 / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00393/0.4055, allocations: 1.686 MB / 1.354 GB, free: 4.484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4055, allocations: 55.84 kB / 1.354 GB, free: 4.418 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.4061, allocations: 0.5105 MB / 1.355 GB, free: 3.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4062, allocations: 37.7 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.4065, allocations: 431.9 kB / 1.355 GB, free: 3.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.4066, allocations: 178.4 kB / 1.356 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4068, allocations: 122.6 kB / 1.356 GB, free: 3.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.407, allocations: 378.7 kB / 1.356 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.4075, allocations: 269.8 kB / 1.356 GB, free: 2.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.4081, allocations: 497.4 kB / 1.357 GB, free: 1.902 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4092, allocations: 0.8122 MB / 1.358 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4092, allocations: 4 kB / 1.358 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00196/0.4111, allocations: 1.07 MB / 1.359 GB, free: 15.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4112, allocations: 13.97 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4112, allocations: 11.94 kB / 1.359 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/0.4121, allocations: 276 kB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.4126, allocations: 123.8 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/0.4196, allocations: 6.602 MB / 1.365 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.4204, allocations: 39.97 kB / 1.366 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.4204, allocations: 31.98 kB / 1.366 GB, free: 8.383 MB / 1.061 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.0004183/0.4209, allocations: 245.6 kB / 1.366 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.421, allocations: 71.58 kB / 1.366 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.4227, allocations: 0.8726 MB / 1.367 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4227, allocations: 15.92 kB / 1.367 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4227, allocations: 4 kB / 1.367 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4227, allocations: 0 / 1.367 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.4255, allocations: 1.529 MB / 1.368 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4255, allocations: 0 / 1.368 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.4258, allocations: 59.89 kB / 1.368 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/0.4267, allocations: 275.2 kB / 1.369 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.4267, allocations: 8 kB / 1.369 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007013/0.4337, allocations: 6.59 MB / 1.375 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4337, allocations: 0 / 1.375 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.4354, allocations: 0.9725 MB / 1.376 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.4357, allocations: 111.5 kB / 1.376 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.4358, allocations: 12.12 kB / 1.376 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.4362, allocations: 39.89 kB / 1.376 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.4363, allocations: 43.92 kB / 1.376 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.4364, allocations: 16 kB / 1.376 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004313/0.4368, allocations: 342.8 kB / 1.376 GB, free: 12.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4368, allocations: 4 kB / 1.376 GB, free: 12.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008349/0.4376, allocations: 220 kB / 1.377 GB, free: 12.42 MB / 1.076 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.0001619/0.4378, allocations: 119.2 kB / 1.377 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.4399, allocations: 1.24 MB / 1.378 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4399, allocations: 128 / 1.378 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.4412, allocations: 0.858 MB / 1.379 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.4422, allocations: 207.2 kB / 1.379 GB, free: 9.898 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.4445, allocations: 1.354 MB / 1.38 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.445, allocations: 416.8 kB / 1.381 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.4453, allocations: 113.5 kB / 1.381 GB, free: 7.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4454, allocations: 35.44 kB / 1.381 GB, free: 7.91 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.4454, allocations: 4 kB / 1.381 GB, free: 7.906 MB / 1.076 GB Notification: Performance of Templates: time 0.02162/0.467, allocations: 12.53 MB / 1.393 GB, free: 11.61 MB / 1.092 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 -s cvode -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: 9.785225886997068]