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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000999/0.000999, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01009/0.01009, allocations: 170 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 9.969 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3127, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.0043/0.317, allocations: 3.373 MB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004653/0.3217, allocations: 2.505 MB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008207/0.3226, allocations: 11.94 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009699/0.3236, allocations: 222.8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.3249, allocations: 470 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3263, allocations: 470 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.3283, allocations: 1.613 MB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.3286, allocations: 124.8 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.3292, allocations: 382.4 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.3298, allocations: 490.2 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.3299, allocations: 28 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.33, allocations: 32 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.3303, allocations: 327 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.3307, allocations: 451.3 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.3314, allocations: 0.8637 MB / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.3314, allocations: 0 / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3314, allocations: 0 / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.3315, allocations: 4 kB / 1.07 GB, free: 9.652 MB / 0.8262 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.001939/0.3334, allocations: 1.125 MB / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3335, allocations: 11.97 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3336, allocations: 107.7 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.3345, allocations: 0.6326 MB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.3346, allocations: 37.03 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.3347, allocations: 64.36 kB / 1.072 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.3353, allocations: 402.9 kB / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3353, allocations: 0 / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3354, allocations: 12 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3354, allocations: 8 kB / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.3358, allocations: 234.4 kB / 1.072 GB, free: 6.906 MB / 0.8262 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.002717/0.3385, allocations: 2.529 MB / 1.075 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.3398, allocations: 483.2 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.34, allocations: 165.2 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3401, allocations: 240 / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3401, allocations: 38.73 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.3401, allocations: 0 / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001935/0.342, allocations: 1.214 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3421, allocations: 55.41 kB / 1.077 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3432, allocations: 0.9193 MB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.3432, allocations: 41.7 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3435, allocations: 368.7 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.3436, allocations: 114.4 kB / 1.078 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.3437, allocations: 93.66 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3438, allocations: 394.8 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.3442, allocations: 229.8 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.3448, allocations: 0.6231 MB / 1.079 GB, free: 15.15 MB / 0.8419 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.002878/0.3477, allocations: 1.791 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3477, allocations: 4 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001377/0.3491, allocations: 0.8999 MB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3491, allocations: 17.55 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3491, allocations: 16 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.3493, allocations: 44.84 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.35, allocations: 215.6 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.351, allocations: 1.358 MB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.3518, allocations: 52.06 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.3518, allocations: 44 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0003496/0.3522, allocations: 301.3 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.3523, allocations: 78.97 kB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.3525, allocations: 76.53 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3525, allocations: 0 / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3525, allocations: 11.94 kB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3525, allocations: 3.984 kB / 1.084 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.3541, allocations: 1.144 MB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3542, allocations: 4 kB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.3546, allocations: 83.88 kB / 1.085 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.3547, allocations: 32.83 kB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3547, allocations: 12 kB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009404/0.3557, allocations: 1.327 MB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3557, allocations: 4.031 kB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.3566, allocations: 0.6714 MB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.3569, allocations: 200.1 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.357, allocations: 8 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.3575, allocations: 23.92 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.3576, allocations: 23.91 kB / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3576, allocations: 12 kB / 1.087 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000818/0.3584, allocations: 0.6239 MB / 1.088 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3584, allocations: 0 / 1.088 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000747/0.3592, allocations: 208 kB / 1.088 GB, free: 5.246 MB / 0.8419 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.0001318/0.3593, allocations: 103.2 kB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.3606, allocations: 0.6497 MB / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3606, allocations: 0 / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.361, allocations: 271.7 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3621, allocations: 171.7 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3646, allocations: 1.982 MB / 1.091 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.3652, allocations: 0.984 MB / 1.092 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004072/0.3656, allocations: 157.8 kB / 1.092 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3657, allocations: 47.44 kB / 1.093 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3657, allocations: 0 / 1.093 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Templates: time 0.01588/0.3816, allocations: 8.477 MB / 1.101 GB, free: 8.414 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches