Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001601/0.001601, allocations: 114 kB / 17.13 MB, free: 5.926 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.00195/0.00195, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.87/2.87, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.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_12_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_12_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.002007/0.002007, allocations: 75.86 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.835, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003724/0.8387, allocations: 3.777 MB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.8421, allocations: 2.578 MB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.8425, allocations: 25.56 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.8432, allocations: 261 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008761/0.8441, allocations: 0.4971 MB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.8453, allocations: 0.5368 MB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.847, allocations: 1.388 MB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.8472, allocations: 99.22 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.8479, allocations: 446.4 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.8485, allocations: 489.9 kB / 1.332 GB, free: 18.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.8486, allocations: 55.88 kB / 1.332 GB, free: 18.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.8488, allocations: 75.39 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.8492, allocations: 383.2 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.8496, allocations: 469.4 kB / 1.333 GB, free: 18.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.8507, allocations: 0.9528 MB / 1.334 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8507, allocations: 0.9688 kB / 1.334 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8507, allocations: 0 / 1.334 GB, free: 18.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.8507, allocations: 0 / 1.334 GB, free: 18.19 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.0024/0.8531, allocations: 1.309 MB / 1.335 GB, free: 17.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8532, allocations: 10 kB / 1.335 GB, free: 17.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.8535, allocations: 112.2 kB / 1.335 GB, free: 17.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8547, allocations: 0.679 MB / 1.336 GB, free: 16.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.8548, allocations: 41.41 kB / 1.336 GB, free: 16.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8549, allocations: 53.92 kB / 1.336 GB, free: 16.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.8555, allocations: 416.2 kB / 1.336 GB, free: 16.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8555, allocations: 9.25 kB / 1.336 GB, free: 16.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.8555, allocations: 14.75 kB / 1.336 GB, free: 16.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.8556, allocations: 12.25 kB / 1.336 GB, free: 16.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.8559, allocations: 233.3 kB / 1.336 GB, free: 16.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.8588, allocations: 2.502 MB / 1.339 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.8601, allocations: 0.5233 MB / 1.339 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.8604, allocations: 150.5 kB / 1.34 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.8604, allocations: 7.406 kB / 1.34 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.8604, allocations: 36.67 kB / 1.34 GB, free: 14.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.8604, allocations: 0 / 1.34 GB, free: 14.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001637/0.8621, allocations: 0.8804 MB / 1.34 GB, free: 13.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.8621, allocations: 54.84 kB / 1.34 GB, free: 13.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.8634, allocations: 0.9364 MB / 1.341 GB, free: 13.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.8634, allocations: 40.92 kB / 1.341 GB, free: 13.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.8636, allocations: 377.9 kB / 1.342 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.8638, allocations: 120.6 kB / 1.342 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.864, allocations: 167.6 kB / 1.342 GB, free: 12.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8641, allocations: 396 kB / 1.342 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.8645, allocations: 244.9 kB / 1.343 GB, free: 12.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.865, allocations: 0.638 MB / 1.343 GB, free: 11.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.8658, allocations: 0.9031 MB / 1.344 GB, free: 11.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.8658, allocations: 3.062 kB / 1.344 GB, free: 11.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001629/0.8675, allocations: 1.019 MB / 1.345 GB, free: 10.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8675, allocations: 15.34 kB / 1.345 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.8675, allocations: 13.81 kB / 1.345 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.8679, allocations: 122.8 kB / 1.345 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.8686, allocations: 193.4 kB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.871, allocations: 4.473 MB / 1.35 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.8722, allocations: 121.2 kB / 1.35 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.8723, allocations: 43.14 kB / 1.35 GB, free: 6.168 MB / 1.061 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.0003308/0.8726, allocations: 272.9 kB / 1.35 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.8727, allocations: 88.16 kB / 1.35 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.8729, allocations: 85.06 kB / 1.35 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8729, allocations: 6.719 kB / 1.35 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.8729, allocations: 1.281 kB / 1.35 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8729, allocations: 3.172 kB / 1.35 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.8737, allocations: 0.6597 MB / 1.351 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.8737, allocations: 0 / 1.351 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.874, allocations: 58.28 kB / 1.351 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.8743, allocations: 108.1 kB / 1.351 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.8744, allocations: 9.781 kB / 1.351 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.8766, allocations: 4.451 MB / 1.356 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8766, allocations: 0.7969 kB / 1.356 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.8777, allocations: 0.7397 MB / 1.356 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.8781, allocations: 216.8 kB / 1.357 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.8782, allocations: 9.75 kB / 1.357 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.8787, allocations: 23.69 kB / 1.357 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.8788, allocations: 23.75 kB / 1.357 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.8788, allocations: 5.625 kB / 1.357 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008852/0.8797, allocations: 0.6355 MB / 1.357 GB, free: 308 kB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8797, allocations: 1.094 kB / 1.357 GB, free: 308 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009995/0.8807, allocations: 267.7 kB / 1.358 GB, free: 276 kB / 1.061 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.0001257/0.8808, allocations: 121.3 kB / 1.358 GB, free: 168 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.8823, allocations: 0.9088 MB / 1.359 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8823, allocations: 0 / 1.359 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.883, allocations: 0.5105 MB / 1.359 GB, free: 15.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.884, allocations: 172.4 kB / 1.359 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.887, allocations: 1.8 MB / 1.361 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/0.8877, allocations: 0.9919 MB / 1.362 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.888, allocations: 48.39 kB / 1.362 GB, free: 13.35 MB / 1.076 GB Notification: Performance of SimCode: time 7.42e-07/0.888, allocations: 3.938 kB / 1.362 GB, free: 13.34 MB / 1.076 GB Notification: Performance of Templates: time 0.02795/0.9159, allocations: 17.74 MB / 1.379 GB, free: 11.31 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.118410166993272]