Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001515/0.001515, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.00175/0.00175, allocations: 187 kB / 17.34 MB, free: 5.719 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.11 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8312, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004569/0.8358, allocations: 3.719 MB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003926/0.8398, allocations: 2.506 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.8402, allocations: 15.88 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007633/0.841, allocations: 248.4 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009938/0.842, allocations: 0.4937 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.8434, allocations: 0.5356 MB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.8449, allocations: 1.371 MB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.8452, allocations: 141.1 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.8458, allocations: 462.4 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.8465, allocations: 474.2 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.8466, allocations: 60 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.8467, allocations: 56 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.847, allocations: 358.9 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.8474, allocations: 453.7 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.8482, allocations: 0.9107 MB / 1.179 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8483, allocations: 4 kB / 1.179 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8483, allocations: 0 / 1.179 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.8483, allocations: 3.938 kB / 1.179 GB, free: 8.023 MB / 0.9044 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.00215/0.8504, allocations: 1.249 MB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8505, allocations: 16.88 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.8507, allocations: 99.72 kB / 1.18 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.8517, allocations: 0.6598 MB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.8517, allocations: 37.03 kB / 1.181 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.722e-05/0.8518, allocations: 56.38 kB / 1.181 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.8524, allocations: 414.9 kB / 1.181 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8524, allocations: 3.938 kB / 1.181 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.8524, allocations: 12 kB / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.8525, allocations: 8 kB / 1.181 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.8529, allocations: 226.4 kB / 1.181 GB, free: 5.137 MB / 0.9044 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.003221/0.8561, allocations: 2.502 MB / 1.184 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.8574, allocations: 483.1 kB / 1.184 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.8577, allocations: 165.2 kB / 1.185 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.8577, allocations: 4.234 kB / 1.185 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8577, allocations: 34.8 kB / 1.185 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.8577, allocations: 4 kB / 1.185 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.002208/0.8599, allocations: 1.199 MB / 1.186 GB, free: 476 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.86, allocations: 55.41 kB / 1.186 GB, free: 408 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.8612, allocations: 0.9231 MB / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.8613, allocations: 41.7 kB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.8616, allocations: 368.7 kB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.8617, allocations: 114.4 kB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.862, allocations: 170.6 kB / 1.187 GB, free: 14.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8622, allocations: 390.7 kB / 1.188 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.8625, allocations: 233.8 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.8634, allocations: 0.6192 MB / 1.189 GB, free: 13.34 MB / 0.92 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.003199/0.8666, allocations: 1.764 MB / 1.19 GB, free: 11.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.8667, allocations: 4 kB / 1.19 GB, free: 11.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001539/0.8682, allocations: 0.9036 MB / 1.191 GB, free: 10.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.8682, allocations: 12 kB / 1.191 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.8683, allocations: 12 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.8685, allocations: 44.84 kB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.8691, allocations: 215.9 kB / 1.191 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.8704, allocations: 1.46 MB / 1.193 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.8712, allocations: 39.97 kB / 1.193 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/0.8713, allocations: 44 kB / 1.193 GB, free: 8.461 MB / 0.92 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.00039/0.8717, allocations: 303.3 kB / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.8718, allocations: 82.88 kB / 1.193 GB, free: 8.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.8719, allocations: 84.39 kB / 1.193 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8719, allocations: 8.062 kB / 1.193 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.872, allocations: 0 / 1.193 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.872, allocations: 4 kB / 1.193 GB, free: 7.977 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.8738, allocations: 1.135 MB / 1.194 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8738, allocations: 4.031 kB / 1.195 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.8742, allocations: 83.88 kB / 1.195 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.8743, allocations: 32.83 kB / 1.195 GB, free: 6.648 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.8744, allocations: 15.98 kB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.8755, allocations: 1.437 MB / 1.196 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.8755, allocations: 4.188 kB / 1.196 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.8765, allocations: 0.6545 MB / 1.197 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.8769, allocations: 208 kB / 1.197 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.8769, allocations: 8 kB / 1.197 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.8774, allocations: 15.98 kB / 1.197 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.8774, allocations: 19.97 kB / 1.197 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.8775, allocations: 12 kB / 1.197 GB, free: 4.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008932/0.8784, allocations: 0.62 MB / 1.198 GB, free: 3.477 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8784, allocations: 0 / 1.198 GB, free: 3.477 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007639/0.8791, allocations: 204 kB / 1.198 GB, free: 3.277 MB / 0.92 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.0001638/0.8793, allocations: 115.1 kB / 1.198 GB, free: 3.156 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.8806, allocations: 0.6351 MB / 1.198 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8806, allocations: 0 / 1.198 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.881, allocations: 277.3 kB / 1.199 GB, free: 2.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.8819, allocations: 170.9 kB / 1.199 GB, free: 2.062 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.8846, allocations: 1.669 MB / 1.201 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.8852, allocations: 0.9799 MB / 1.201 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.8854, allocations: 59.44 kB / 1.202 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.8854, allocations: 0 / 1.202 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.01748/0.9028, allocations: 12.16 MB / 1.213 GB, free: 3.156 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches