Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001637/0.001637, 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.002016/0.002016, allocations: 212.5 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 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.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_12_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_12_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.001989/0.001989, allocations: 67.12 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005055/0.3346, allocations: 3.437 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.3391, allocations: 2.415 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.3395, allocations: 23.81 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.3403, allocations: 238.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3415, allocations: 0.5522 MB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.343, allocations: 0.569 MB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.3448, allocations: 1.39 MB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.345, allocations: 97.73 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.3457, allocations: 458.5 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.3464, allocations: 0.5098 MB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3465, allocations: 52 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3467, allocations: 72 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004058/0.3471, allocations: 374.9 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.3475, allocations: 378.2 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.3485, allocations: 0.9374 MB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3485, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3485, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.3485, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 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.002523/0.3511, allocations: 1.224 MB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3511, allocations: 8.031 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.3514, allocations: 116.3 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3526, allocations: 0.6065 MB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3527, allocations: 37.03 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3528, allocations: 64.33 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.3535, allocations: 402.9 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3535, allocations: 7.938 kB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.3535, allocations: 12 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.3536, allocations: 8 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.354, allocations: 226.4 kB / 1.341 GB, free: 2.688 MB / 1.029 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.002977/0.357, allocations: 1.798 MB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3584, allocations: 461 kB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.3587, allocations: 145.2 kB / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3587, allocations: 8.234 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3587, allocations: 34.73 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 4.098e-06/0.3587, allocations: 3.984 kB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0022/0.3609, allocations: 1.071 MB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.361, allocations: 55.41 kB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.3623, allocations: 0.9231 MB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.3624, allocations: 45.7 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.3627, allocations: 377.1 kB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3628, allocations: 111 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.363, allocations: 170.6 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3632, allocations: 402.7 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.3636, allocations: 221.8 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.3643, allocations: 0.6196 MB / 1.347 GB, free: 11.93 MB / 1.045 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.003115/0.3674, allocations: 1.615 MB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.3674, allocations: 4 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001516/0.369, allocations: 0.9004 MB / 1.35 GB, free: 9.199 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.369, allocations: 12 kB / 1.35 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.369, allocations: 12 kB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.3692, allocations: 52.83 kB / 1.35 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.3699, allocations: 211.6 kB / 1.35 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.3712, allocations: 1.342 MB / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.3719, allocations: 43.97 kB / 1.351 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.372, allocations: 40 kB / 1.351 GB, free: 7.387 MB / 1.045 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.0003908/0.3724, allocations: 302.8 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3725, allocations: 83.39 kB / 1.352 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3726, allocations: 80.58 kB / 1.352 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3726, allocations: 11.94 kB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3726, allocations: 3.938 kB / 1.352 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3726, allocations: 3.984 kB / 1.352 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3744, allocations: 0.9604 MB / 1.353 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3744, allocations: 0 / 1.353 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.3748, allocations: 88 kB / 1.353 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.3749, allocations: 32.83 kB / 1.353 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.375, allocations: 12 kB / 1.353 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.3761, allocations: 1.308 MB / 1.354 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3761, allocations: 12.03 kB / 1.354 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.3771, allocations: 0.6558 MB / 1.355 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.3774, allocations: 127.4 kB / 1.355 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.3775, allocations: 11.94 kB / 1.355 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.378, allocations: 19.97 kB / 1.355 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.378, allocations: 15.97 kB / 1.355 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3781, allocations: 15.98 kB / 1.355 GB, free: 3.453 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008738/0.3789, allocations: 0.6239 MB / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007598/0.3797, allocations: 204 kB / 1.356 GB, free: 2.637 MB / 1.045 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.0001431/0.3799, allocations: 108.3 kB / 1.356 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.381, allocations: 0.632 MB / 1.356 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3811, allocations: 4 kB / 1.356 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.3815, allocations: 262.4 kB / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.3823, allocations: 162.2 kB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.3848, allocations: 1.636 MB / 1.358 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3852, allocations: 388.3 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003993/0.3856, allocations: 153.6 kB / 1.359 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3858, allocations: 55.42 kB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3858, allocations: 0 / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of Templates: time 0.01947/0.4053, allocations: 10.66 MB / 1.369 GB, free: 4.711 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.155317349999677]