Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009806/0.009806, allocations: 102 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002423/0.002423, allocations: 193.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.589/2.589, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8994/0.9013, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005149/0.9064, allocations: 3.744 MB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.9106, allocations: 2.509 MB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.911, allocations: 11.94 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.9117, allocations: 253.9 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008955/0.9126, allocations: 497.6 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.9139, allocations: 0.5434 MB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.9153, allocations: 1.367 MB / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.9155, allocations: 101.2 kB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.9162, allocations: 458.4 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.9168, allocations: 482.1 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.9169, allocations: 52 kB / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.917, allocations: 56 kB / 1.23 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.9173, allocations: 358.9 kB / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.9177, allocations: 457.7 kB / 1.231 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.9186, allocations: 0.9151 MB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9186, allocations: 0 / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9186, allocations: 3.938 kB / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.9186, allocations: 0 / 1.232 GB, free: 6.324 MB / 0.9512 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.002165/0.9208, allocations: 1.28 MB / 1.233 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9208, allocations: 12.03 kB / 1.233 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.921, allocations: 108.3 kB / 1.233 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.9221, allocations: 0.6605 MB / 1.234 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.9221, allocations: 41.03 kB / 1.234 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.9222, allocations: 60.38 kB / 1.234 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.9228, allocations: 414.9 kB / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9228, allocations: 0 / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.9228, allocations: 12 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.9229, allocations: 11.94 kB / 1.235 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.9233, allocations: 226.4 kB / 1.235 GB, free: 3.391 MB / 0.9512 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.002934/0.9262, allocations: 2.503 MB / 1.237 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.9274, allocations: 467.1 kB / 1.238 GB, free: 232 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.9276, allocations: 145.2 kB / 1.238 GB, free: 84 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.9276, allocations: 4.234 kB / 1.238 GB, free: 80 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.9277, allocations: 38.73 kB / 1.238 GB, free: 32 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.9277, allocations: 0 / 1.238 GB, free: 32 kB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001953/0.9296, allocations: 1.219 MB / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.9297, allocations: 51.41 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.9308, allocations: 0.9271 MB / 1.24 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.9308, allocations: 41.7 kB / 1.24 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.9311, allocations: 373.2 kB / 1.24 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.9311, allocations: 118.9 kB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.9313, allocations: 170.6 kB / 1.241 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9315, allocations: 394.7 kB / 1.241 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.9318, allocations: 225.8 kB / 1.241 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.9324, allocations: 0.6231 MB / 1.242 GB, free: 11.61 MB / 0.9669 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.002862/0.9353, allocations: 1.764 MB / 1.244 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9353, allocations: 4 kB / 1.244 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001387/0.9367, allocations: 0.9155 MB / 1.244 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9367, allocations: 8 kB / 1.244 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.9367, allocations: 16 kB / 1.244 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.9369, allocations: 44.84 kB / 1.245 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.9376, allocations: 215.9 kB / 1.245 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.9386, allocations: 1.468 MB / 1.246 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.9393, allocations: 43.97 kB / 1.246 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.9394, allocations: 44 kB / 1.246 GB, free: 6.711 MB / 0.9669 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.0003378/0.9397, allocations: 302.1 kB / 1.247 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.9398, allocations: 83.44 kB / 1.247 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.9399, allocations: 88.52 kB / 1.247 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9399, allocations: 4 kB / 1.247 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9399, allocations: 3.938 kB / 1.247 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.94, allocations: 0 / 1.247 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.9415, allocations: 1.143 MB / 1.248 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9415, allocations: 4 kB / 1.248 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.9419, allocations: 75.94 kB / 1.248 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.942, allocations: 32.78 kB / 1.248 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.942, allocations: 15.98 kB / 1.248 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009333/0.9429, allocations: 1.43 MB / 1.249 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9429, allocations: 3.938 kB / 1.249 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.9438, allocations: 0.6579 MB / 1.25 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.944, allocations: 212.5 kB / 1.25 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.9441, allocations: 8 kB / 1.25 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.9445, allocations: 15.98 kB / 1.25 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.9446, allocations: 19.97 kB / 1.25 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.9446, allocations: 12.12 kB / 1.25 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007741/0.9454, allocations: 0.62 MB / 1.251 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9454, allocations: 4 kB / 1.251 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006913/0.9461, allocations: 208 kB / 1.251 GB, free: 1.52 MB / 0.9669 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.0001257/0.9462, allocations: 119.1 kB / 1.251 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.9472, allocations: 0.6149 MB / 1.252 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9472, allocations: 4 kB / 1.252 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.9476, allocations: 258.4 kB / 1.252 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.9484, allocations: 176.1 kB / 1.252 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.9506, allocations: 1.645 MB / 1.254 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.9512, allocations: 0.9876 MB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003868/0.9515, allocations: 149.8 kB / 1.255 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.9517, allocations: 51.38 kB / 1.255 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/0.9517, allocations: 4 kB / 1.255 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of Templates: time 0.01749/0.9692, allocations: 9.167 MB / 1.264 GB, free: 4.367 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches