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.001814/0.001814, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002346/0.002346, allocations: 206.7 kB / 23 MB, free: 4.934 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.002041/0.002041, allocations: 66.3 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3192, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005508/0.3247, allocations: 3.455 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.3293, allocations: 2.416 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.3298, allocations: 23.81 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008804/0.3307, allocations: 238.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.3322, allocations: 0.5507 MB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3336, allocations: 0.5613 MB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.3354, allocations: 1.398 MB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.3356, allocations: 93.73 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.3362, allocations: 458.5 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.3369, allocations: 0.5098 MB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.337, allocations: 60 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.3372, allocations: 68 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.3376, allocations: 370.9 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.338, allocations: 382.2 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.339, allocations: 0.9374 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.339, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.339, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.339, allocations: 0 / 1.338 GB, free: 5.477 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.002441/0.3414, allocations: 1.224 MB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3415, allocations: 8.031 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.3418, allocations: 108.3 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3429, allocations: 0.6065 MB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.3429, allocations: 45.02 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.343, allocations: 60.33 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.3437, allocations: 402.9 kB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3437, allocations: 3.938 kB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.3437, allocations: 20 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3438, allocations: 8 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.3442, allocations: 218.4 kB / 1.341 GB, free: 2.699 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.002826/0.347, allocations: 1.802 MB / 1.343 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3484, allocations: 475.9 kB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3487, allocations: 137.2 kB / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3487, allocations: 4.234 kB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3487, allocations: 38.78 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.3487, allocations: 0 / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002035/0.3508, allocations: 1.065 MB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3508, allocations: 51.41 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.352, allocations: 0.9231 MB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.3521, allocations: 41.7 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.3524, allocations: 381.1 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3525, allocations: 115 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3527, allocations: 170.6 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.353, allocations: 398.7 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3533, allocations: 221.8 kB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.3541, allocations: 0.6196 MB / 1.347 GB, free: 11.94 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.003124/0.3572, allocations: 1.619 MB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3572, allocations: 4 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001434/0.3586, allocations: 0.9039 MB / 1.35 GB, free: 9.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3587, allocations: 12 kB / 1.35 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3587, allocations: 16 kB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.3588, allocations: 48.84 kB / 1.35 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.3596, allocations: 212 kB / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.3608, allocations: 1.334 MB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.3615, allocations: 43.97 kB / 1.351 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.3615, allocations: 44 kB / 1.351 GB, free: 7.395 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.0003494/0.3619, allocations: 302.7 kB / 1.352 GB, free: 7.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.362, allocations: 87.39 kB / 1.352 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.3622, allocations: 76.42 kB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3622, allocations: 3.984 kB / 1.352 GB, free: 6.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3622, allocations: 7.938 kB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.3625, allocations: 127.4 kB / 1.352 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.3625, allocations: 4 kB / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.363, allocations: 23.97 kB / 1.352 GB, free: 6.762 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.3631, allocations: 23.95 kB / 1.352 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001208/0.3643, allocations: 0.5256 MB / 1.352 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009587/0.3652, allocations: 0.7476 MB / 1.353 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002352/0.3655, allocations: 143.9 kB / 1.353 GB, free: 5.297 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008465/0.3663, allocations: 0.6161 MB / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of Backend: time 3.41e-07/0.3663, allocations: 0 / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3677, allocations: 0.6024 MB / 1.354 GB, free: 4.07 MB / 1.045 GB Notification: Performance of SimCode: time 0.002863/0.3705, allocations: 2.167 MB / 1.357 GB, free: 1.844 MB / 1.045 GB Notification: Performance of Templates: time 0.01936/0.3899, allocations: 11.34 MB / 1.368 GB, free: 6.703 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 -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: 8.748435416004213]