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.001355/0.001355, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001593/0.001593, allocations: 209.4 kB / 23.03 MB, free: 4.867 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.00207/0.00207, allocations: 64.09 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4435, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01005/0.4536, allocations: 6.562 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.4596, allocations: 3.071 MB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.4602, allocations: 39.62 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.463, allocations: 0.9588 MB / 1.338 GB, free: 6.281 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.4645, allocations: 0.5168 MB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4657, allocations: 455.9 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.4675, allocations: 1.225 MB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008773/0.4684, allocations: 0.5372 MB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.4691, allocations: 0.4904 MB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.47, allocations: 0.5136 MB / 1.341 GB, free: 2.535 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.4701, allocations: 68 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008296/0.4709, allocations: 335.3 kB / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.4712, allocations: 319.1 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.4717, allocations: 382.2 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.4731, allocations: 1.234 MB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4731, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4731, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.4731, allocations: 0 / 1.343 GB, free: 220 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.00207/0.4752, allocations: 1.127 MB / 1.345 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4752, allocations: 8.031 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.4767, allocations: 248.1 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.4779, allocations: 0.5282 MB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.478, allocations: 53.67 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4781, allocations: 64.36 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.4798, allocations: 1.34 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.4799, allocations: 7.891 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.48, allocations: 31.98 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.4801, allocations: 85.25 kB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.4813, allocations: 0.7465 MB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.487, allocations: 4.535 MB / 1.352 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.488, allocations: 0.5021 MB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.4885, allocations: 290 kB / 1.353 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.4885, allocations: 8.422 kB / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4885, allocations: 39 kB / 1.353 GB, free: 6.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.4885, allocations: 3.938 kB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003883/0.4924, allocations: 1.682 MB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.4925, allocations: 55.84 kB / 1.355 GB, free: 4.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.4931, allocations: 0.5184 MB / 1.355 GB, free: 3.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.4932, allocations: 33.64 kB / 1.355 GB, free: 3.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.4935, allocations: 427.9 kB / 1.355 GB, free: 3.445 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.4937, allocations: 186.4 kB / 1.356 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.4939, allocations: 126.6 kB / 1.356 GB, free: 3.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.4941, allocations: 378.6 kB / 1.356 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.4945, allocations: 277.8 kB / 1.356 GB, free: 2.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.4952, allocations: 489.4 kB / 1.357 GB, free: 1.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4963, allocations: 0.8084 MB / 1.358 GB, free: 1.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4963, allocations: 4 kB / 1.358 GB, free: 1 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001933/0.4982, allocations: 1.07 MB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.4983, allocations: 11.94 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.4983, allocations: 7.984 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008858/0.4992, allocations: 279.7 kB / 1.359 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4997, allocations: 119.8 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/0.5072, allocations: 6.59 MB / 1.366 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.5079, allocations: 43.94 kB / 1.366 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.508, allocations: 32.12 kB / 1.366 GB, free: 8.402 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.0004326/0.5084, allocations: 257.5 kB / 1.366 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5085, allocations: 67.58 kB / 1.366 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.5102, allocations: 0.8764 MB / 1.367 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5102, allocations: 8 kB / 1.367 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5102, allocations: 4 kB / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5102, allocations: 0 / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.5128, allocations: 1.533 MB / 1.368 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5128, allocations: 4.188 kB / 1.368 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.5131, allocations: 59.95 kB / 1.368 GB, free: 5.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007444/0.5139, allocations: 267.1 kB / 1.369 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.5139, allocations: 8 kB / 1.369 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007135/0.521, allocations: 6.594 MB / 1.375 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.521, allocations: 0 / 1.375 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.5228, allocations: 0.9686 MB / 1.376 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.5231, allocations: 107.6 kB / 1.376 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.5232, allocations: 19.94 kB / 1.376 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.5236, allocations: 31.95 kB / 1.376 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5237, allocations: 47.86 kB / 1.376 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.5237, allocations: 12 kB / 1.376 GB, free: 12.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000463/0.5242, allocations: 350.8 kB / 1.377 GB, free: 12.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5242, allocations: 0 / 1.377 GB, free: 12.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008983/0.5251, allocations: 224 kB / 1.377 GB, free: 12.43 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.0001896/0.5253, allocations: 115.2 kB / 1.377 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.5275, allocations: 1.236 MB / 1.378 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5275, allocations: 0 / 1.378 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.5289, allocations: 0.8658 MB / 1.379 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5299, allocations: 202.4 kB / 1.379 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.5326, allocations: 1.424 MB / 1.38 GB, free: 8.434 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.5331, allocations: 420.8 kB / 1.381 GB, free: 7.992 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5333, allocations: 43.44 kB / 1.381 GB, free: 7.949 MB / 1.076 GB Notification: Performance of SimCode: time 1.473e-06/0.5333, allocations: 0 / 1.381 GB, free: 7.949 MB / 1.076 GB Notification: Performance of Templates: time 0.02937/0.5627, allocations: 20.92 MB / 1.401 GB, free: 3.074 MB / 1.092 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: 14.76025646016933]