Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001598/0.001598, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001792/0.001792, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.586/1.586, 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.275/3.275, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.ConductorSingleLayer,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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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.ConductorSingleLayer") [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.002033/0.002033, allocations: 72.72 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005635/0.3658, allocations: 3.442 MB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004783/0.3706, allocations: 2.415 MB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.371, allocations: 23.81 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.3718, allocations: 238.4 kB / 1.371 GB, free: 7.477 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.373, allocations: 0.5405 MB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3744, allocations: 0.5651 MB / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3761, allocations: 1.383 MB / 1.373 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.3763, allocations: 97.72 kB / 1.373 GB, free: 4.875 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.377, allocations: 458.5 kB / 1.374 GB, free: 4.426 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.3778, allocations: 490.1 kB / 1.374 GB, free: 3.945 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.3779, allocations: 56 kB / 1.374 GB, free: 3.891 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3781, allocations: 72 kB / 1.374 GB, free: 3.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.3785, allocations: 370.9 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.3789, allocations: 382.1 kB / 1.375 GB, free: 3.082 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3799, allocations: 0.9374 MB / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3799, allocations: 0 / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3799, allocations: 0 / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.3799, allocations: 0 / 1.376 GB, free: 2.141 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.002395/0.3823, allocations: 1.22 MB / 1.377 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3823, allocations: 8.031 kB / 1.377 GB, free: 0.875 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.3826, allocations: 112.3 kB / 1.377 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.3837, allocations: 0.6104 MB / 1.378 GB, free: 136 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.3838, allocations: 37.03 kB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.3839, allocations: 60.38 kB / 1.378 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.3846, allocations: 403 kB / 1.378 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3846, allocations: 11.94 kB / 1.378 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3846, allocations: 8 kB / 1.378 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3847, allocations: 12 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.3851, allocations: 222.4 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.388, allocations: 1.806 MB / 1.38 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.3894, allocations: 467.1 kB / 1.381 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.3897, allocations: 149.2 kB / 1.381 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3897, allocations: 240 / 1.381 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3897, allocations: 34.8 kB / 1.381 GB, free: 12.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.3897, allocations: 0 / 1.381 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.002047/0.3918, allocations: 1.064 MB / 1.382 GB, free: 11.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.3918, allocations: 63.33 kB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.3932, allocations: 0.9192 MB / 1.383 GB, free: 10.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.3932, allocations: 41.7 kB / 1.383 GB, free: 10.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.3935, allocations: 381.1 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3937, allocations: 115 kB / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3939, allocations: 170.6 kB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3941, allocations: 394.7 kB / 1.384 GB, free: 9.625 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.3945, allocations: 225.8 kB / 1.384 GB, free: 9.406 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/0.3952, allocations: 0.6235 MB / 1.385 GB, free: 8.598 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.3985, allocations: 1.612 MB / 1.386 GB, free: 6.793 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3985, allocations: 4 kB / 1.386 GB, free: 6.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001513/0.4, allocations: 0.8961 MB / 1.387 GB, free: 5.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.4, allocations: 12 kB / 1.387 GB, free: 5.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.4001, allocations: 12 kB / 1.387 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.4002, allocations: 56.77 kB / 1.387 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.4009, allocations: 208.1 kB / 1.387 GB, free: 5.598 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4022, allocations: 1.342 MB / 1.389 GB, free: 4.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.403, allocations: 43.97 kB / 1.389 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.403, allocations: 40 kB / 1.389 GB, free: 4.07 MB / 1.076 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.4034, allocations: 302.2 kB / 1.389 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.4035, allocations: 87.36 kB / 1.389 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.4037, allocations: 80.42 kB / 1.389 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4037, allocations: 4 kB / 1.389 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4037, allocations: 3.938 kB / 1.389 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4038, allocations: 0 / 1.389 GB, free: 3.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.4055, allocations: 0.9792 MB / 1.39 GB, free: 2.559 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4055, allocations: 0 / 1.39 GB, free: 2.559 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.4059, allocations: 83.88 kB / 1.39 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.406, allocations: 32.83 kB / 1.39 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.406, allocations: 15.94 kB / 1.39 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.4073, allocations: 1.303 MB / 1.392 GB, free: 1.016 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4073, allocations: 7.969 kB / 1.392 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.4083, allocations: 0.6612 MB / 1.392 GB, free: 324 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.4086, allocations: 123.4 kB / 1.392 GB, free: 200 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.4087, allocations: 15.94 kB / 1.392 GB, free: 184 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.4092, allocations: 24.12 kB / 1.392 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.4092, allocations: 15.97 kB / 1.392 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.4092, allocations: 12 kB / 1.392 GB, free: 132 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008828/0.4101, allocations: 0.62 MB / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4101, allocations: 0 / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008336/0.411, allocations: 204 kB / 1.393 GB, free: 15.32 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001366/0.4111, allocations: 107.2 kB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.4123, allocations: 0.6216 MB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4123, allocations: 0 / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.4127, allocations: 259.8 kB / 1.394 GB, free: 14.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.4135, allocations: 171.2 kB / 1.394 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4161, allocations: 1.696 MB / 1.396 GB, free: 12.39 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4165, allocations: 384.3 kB / 1.396 GB, free: 11.99 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4167, allocations: 55.44 kB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of SimCode: time 4.21e-07/0.4167, allocations: 0 / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of Templates: time 0.01843/0.4351, allocations: 12.48 MB / 1.409 GB, free: 15.49 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.29475045017898]