Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 173.2 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 0.7948 GB, free: 18 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009175, allocations: 100.3 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005302, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3397, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.5492, allocations: 158.8 MB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5495, allocations: 83.95 kB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06772/0.6172, allocations: 18.64 MB / 1.396 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.128e-06/0.6173, allocations: 0 / 1.396 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.574e-05/0.6174, allocations: 27.92 kB / 1.396 GB, free: 0.4922 MB / 0.8855 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.004168/0.6216, allocations: 1.179 MB / 1.397 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 8.575e-05/0.6217, allocations: 8.031 kB / 1.397 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.6221, allocations: 102.8 kB / 1.398 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.6251, allocations: 1.074 MB / 1.399 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.6252, allocations: 40.66 kB / 1.399 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.6252, allocations: 56 kB / 1.399 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.626, allocations: 398.9 kB / 1.399 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.626, allocations: 3.938 kB / 1.399 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.626, allocations: 16 kB / 1.399 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.626, allocations: 8 kB / 1.399 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.6265, allocations: 234.3 kB / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.6298, allocations: 2.294 MB / 1.402 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.6311, allocations: 486.9 kB / 1.402 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.6311, allocations: 4.234 kB / 1.402 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6312, allocations: 34.8 kB / 1.402 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 3.396e-06/0.6312, allocations: 4 kB / 1.402 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.002351/0.6336, allocations: 1.206 MB / 1.403 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.6336, allocations: 63.36 kB / 1.403 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6348, allocations: 0.8207 MB / 1.404 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.6348, allocations: 37.7 kB / 1.404 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.6351, allocations: 368.8 kB / 1.404 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6353, allocations: 118.3 kB / 1.405 GB, free: 7.594 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.6353, allocations: 12 kB / 1.405 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.6355, allocations: 394.8 kB / 1.405 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.6358, allocations: 221.8 kB / 1.405 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.6365, allocations: 0.6154 MB / 1.406 GB, free: 6.168 MB / 0.9011 GB 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])) 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[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.6386, allocations: 1.051 MB / 1.407 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.6386, allocations: 4 kB / 1.407 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001458/0.6401, allocations: 0.8914 MB / 1.408 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6401, allocations: 14.22 kB / 1.408 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.6401, allocations: 15.98 kB / 1.408 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.6403, allocations: 56.83 kB / 1.408 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.641, allocations: 207.6 kB / 1.408 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.6422, allocations: 1.366 MB / 1.409 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6433, allocations: 75.72 kB / 1.409 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.6433, allocations: 40.25 kB / 1.409 GB, free: 2.266 MB / 0.9011 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005255/0.6439, allocations: 301.1 kB / 1.41 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.6441, allocations: 78.97 kB / 1.41 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.6442, allocations: 76.53 kB / 1.41 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6442, allocations: 7.953 kB / 1.41 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6442, allocations: 0 / 1.41 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6443, allocations: 3.984 kB / 1.41 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.6461, allocations: 1.197 MB / 1.411 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6461, allocations: 0 / 1.411 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.6465, allocations: 88 kB / 1.411 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.6466, allocations: 32.83 kB / 1.411 GB, free: 412 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.6467, allocations: 8 kB / 1.411 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.6479, allocations: 1.342 MB / 1.412 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6479, allocations: 0 / 1.412 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.6489, allocations: 0.7087 MB / 1.413 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.6493, allocations: 208 kB / 1.413 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.6494, allocations: 12 kB / 1.413 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.6499, allocations: 35.8 kB / 1.413 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.65, allocations: 27.91 kB / 1.413 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.65, allocations: 12.12 kB / 1.413 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008566/0.6509, allocations: 0.6161 MB / 1.414 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6509, allocations: 0 / 1.414 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008423/0.6517, allocations: 204 kB / 1.414 GB, free: 13.04 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.652, allocations: 167.8 kB / 1.414 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.6532, allocations: 0.6349 MB / 1.415 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6532, allocations: 4 kB / 1.415 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.6536, allocations: 266.7 kB / 1.415 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.6543, allocations: 163.3 kB / 1.415 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.6568, allocations: 1.927 MB / 1.417 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6574, allocations: 1.003 MB / 1.418 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.6579, allocations: 157.8 kB / 1.418 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.658, allocations: 55.42 kB / 1.418 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.658, allocations: 0 / 1.418 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of Templates: time 0.5608/1.219, allocations: 9.134 MB / 1.427 GB, free: 188.4 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches