Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001753/0.001753, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.244/3.244, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [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.00202/0.00202, allocations: 66.94 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005353/0.3589, allocations: 3.463 MB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.3633, allocations: 2.415 MB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.3636, allocations: 19.81 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.3643, allocations: 238.4 kB / 1.371 GB, free: 7.449 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.3655, allocations: 0.5444 MB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3668, allocations: 0.5535 MB / 1.372 GB, free: 6.348 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.3686, allocations: 1.402 MB / 1.373 GB, free: 4.941 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3688, allocations: 93.73 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.3694, allocations: 442.5 kB / 1.374 GB, free: 4.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.3702, allocations: 478.1 kB / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3703, allocations: 56 kB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3705, allocations: 72 kB / 1.374 GB, free: 3.812 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.3709, allocations: 390.8 kB / 1.374 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.3713, allocations: 386.2 kB / 1.375 GB, free: 3.051 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3724, allocations: 0.9685 MB / 1.376 GB, free: 2.078 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3724, allocations: 0 / 1.376 GB, free: 2.078 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3724, allocations: 0 / 1.376 GB, free: 2.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.3724, allocations: 0 / 1.376 GB, free: 2.078 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002598/0.375, allocations: 1.24 MB / 1.377 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.375, allocations: 12.03 kB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.3753, allocations: 108.3 kB / 1.377 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.3765, allocations: 0.6143 MB / 1.378 GB, free: 48 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.3766, allocations: 49.02 kB / 1.378 GB, free: 0 / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.3767, allocations: 56.42 kB / 1.378 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.3774, allocations: 410.8 kB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3774, allocations: 0 / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3774, allocations: 16 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3775, allocations: 11.94 kB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3779, allocations: 230.4 kB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.3809, allocations: 1.825 MB / 1.38 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.3824, allocations: 0.5319 MB / 1.381 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3827, allocations: 145.3 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3827, allocations: 7.938 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3828, allocations: 46.5 kB / 1.381 GB, free: 12.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3828, allocations: 0 / 1.381 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.001627/0.3844, allocations: 0.661 MB / 1.382 GB, free: 11.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3844, allocations: 55.41 kB / 1.382 GB, free: 11.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.3857, allocations: 0.9231 MB / 1.383 GB, free: 10.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.3857, allocations: 41.7 kB / 1.383 GB, free: 10.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.386, allocations: 373.2 kB / 1.383 GB, free: 10.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3862, allocations: 126.9 kB / 1.383 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3864, allocations: 166.6 kB / 1.383 GB, free: 10.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002835/0.3867, allocations: 398.7 kB / 1.384 GB, free: 9.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.3871, allocations: 245.8 kB / 1.384 GB, free: 9.602 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.3879, allocations: 0.6391 MB / 1.384 GB, free: 8.777 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3891, allocations: 0.8836 MB / 1.385 GB, free: 7.699 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.3891, allocations: 7.938 kB / 1.385 GB, free: 7.691 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00173/0.3908, allocations: 1.026 MB / 1.386 GB, free: 6.648 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3909, allocations: 12.69 kB / 1.386 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3909, allocations: 12 kB / 1.386 GB, free: 6.625 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.3913, allocations: 126.4 kB / 1.386 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3919, allocations: 199.6 kB / 1.387 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.3956, allocations: 4.082 MB / 1.391 GB, free: 1.902 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/0.3966, allocations: 119.3 kB / 1.391 GB, free: 1.785 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.3966, allocations: 44.22 kB / 1.391 GB, free: 1.742 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.397, allocations: 265.4 kB / 1.391 GB, free: 1.473 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3971, allocations: 91.36 kB / 1.391 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3973, allocations: 80.41 kB / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3973, allocations: 0 / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3973, allocations: 4 kB / 1.391 GB, free: 1.293 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3973, allocations: 0 / 1.391 GB, free: 1.293 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.3979, allocations: 476.8 kB / 1.392 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3979, allocations: 4 kB / 1.392 GB, free: 0.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.3983, allocations: 63.95 kB / 1.392 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.3986, allocations: 102.4 kB / 1.392 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3986, allocations: 11.98 kB / 1.392 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.4022, allocations: 4.067 MB / 1.396 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4022, allocations: 4.062 kB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.4034, allocations: 0.7354 MB / 1.397 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.4038, allocations: 135.3 kB / 1.397 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.4039, allocations: 8 kB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.4044, allocations: 31.89 kB / 1.397 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.4045, allocations: 23.95 kB / 1.397 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.4045, allocations: 12 kB / 1.397 GB, free: 11.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000912/0.4054, allocations: 0.62 MB / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4054, allocations: 0 / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008755/0.4063, allocations: 271.8 kB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.4064, allocations: 103.2 kB / 1.398 GB, free: 10.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.4079, allocations: 0.8999 MB / 1.399 GB, free: 9.336 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4079, allocations: 0 / 1.399 GB, free: 9.336 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.4086, allocations: 0.509 MB / 1.399 GB, free: 8.789 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.4094, allocations: 185 kB / 1.399 GB, free: 8.613 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.4122, allocations: 1.799 MB / 1.401 GB, free: 6.777 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.4127, allocations: 392.4 kB / 1.401 GB, free: 6.367 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.4128, allocations: 59.42 kB / 1.401 GB, free: 6.309 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/0.4128, allocations: 0 / 1.401 GB, free: 6.309 MB / 1.092 GB Notification: Performance of Templates: time 0.02491/0.4378, allocations: 17.96 MB / 1.419 GB, free: 4.375 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 13.582532045897096]