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 1.968/1.968, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001037/0.001038, allocations: 184.9 kB / 487.4 MB, free: 5.047 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.266/1.266, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 95.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.71e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7046/0.9147, allocations: 158.1 MB / 1.36 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.9149, allocations: 78.69 kB / 1.36 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05547/0.9704, allocations: 18.31 MB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9704, allocations: 0 / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.792e-05/0.9705, allocations: 19.47 kB / 1.378 GB, free: 31.12 MB / 0.8386 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.00168/0.9722, allocations: 0.924 MB / 1.379 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.9722, allocations: 7.719 kB / 1.379 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.9726, allocations: 96.66 kB / 1.379 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.9748, allocations: 1.07 MB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.9748, allocations: 11.34 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.9749, allocations: 35.09 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003196/0.9752, allocations: 188.3 kB / 1.381 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.9757, allocations: 343.4 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.9757, allocations: 0 / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.9758, allocations: 3.875 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.9758, allocations: 7.812 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.9783, allocations: 2.209 MB / 1.383 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.9793, allocations: 469.2 kB / 1.384 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.9795, allocations: 139 kB / 1.384 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.9795, allocations: 240 / 1.384 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9796, allocations: 38.42 kB / 1.384 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.9796, allocations: 0 / 1.384 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.001357/0.9809, allocations: 0.9272 MB / 1.385 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.981, allocations: 51.41 kB / 1.385 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/0.9818, allocations: 0.7468 MB / 1.385 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.9819, allocations: 25.7 kB / 1.385 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.9821, allocations: 361.3 kB / 1.386 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.9822, allocations: 111.1 kB / 1.386 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.9822, allocations: 0 / 1.386 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9824, allocations: 400.7 kB / 1.386 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.9826, allocations: 196.8 kB / 1.386 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.983, allocations: 0.5763 MB / 1.387 GB, free: 25.95 MB / 0.8386 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.001594/0.9846, allocations: 0.9946 MB / 1.388 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.9846, allocations: 3.75 kB / 1.388 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009963/0.9856, allocations: 0.7686 MB / 1.389 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9856, allocations: 11.66 kB / 1.389 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.9856, allocations: 11.56 kB / 1.389 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.9858, allocations: 58.23 kB / 1.389 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.9864, allocations: 209.9 kB / 1.389 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/0.9873, allocations: 1.325 MB / 1.39 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/0.9882, allocations: 62.64 kB / 1.39 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.9883, allocations: 42.12 kB / 1.39 GB, free: 23.91 MB / 0.8386 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 () * 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.0001688/0.9884, allocations: 162.8 kB / 1.391 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.9886, allocations: 77.72 kB / 1.391 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.9887, allocations: 77.16 kB / 1.391 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9887, allocations: 3.844 kB / 1.391 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9887, allocations: 4 kB / 1.391 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9887, allocations: 0 / 1.391 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.99, allocations: 1.111 MB / 1.392 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.99, allocations: 7.969 kB / 1.392 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.9904, allocations: 85.66 kB / 1.392 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.9905, allocations: 36.14 kB / 1.392 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.9905, allocations: 7.797 kB / 1.392 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008763/0.9914, allocations: 1.297 MB / 1.393 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9914, allocations: 3.938 kB / 1.393 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.9921, allocations: 0.6416 MB / 1.394 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.9923, allocations: 210.3 kB / 1.394 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.9924, allocations: 11.44 kB / 1.394 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.993, allocations: 31.27 kB / 1.394 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.993, allocations: 23.42 kB / 1.394 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.9931, allocations: 11.53 kB / 1.394 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005657/0.9936, allocations: 0.5446 MB / 1.395 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9937, allocations: 7.906 kB / 1.395 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006862/0.9944, allocations: 189 kB / 1.395 GB, free: 21.11 MB / 0.8386 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 () * 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.0002291/0.9946, allocations: 164.1 kB / 1.395 GB, free: 21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.9954, allocations: 0.5607 MB / 1.396 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9954, allocations: 4 kB / 1.396 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.9957, allocations: 254 kB / 1.396 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.9963, allocations: 145.6 kB / 1.396 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.998, allocations: 1.259 MB / 1.397 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.9985, allocations: 1.002 MB / 1.398 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.999, allocations: 154.1 kB / 1.398 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.9991, allocations: 53.89 kB / 1.398 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.9991, allocations: 0 / 1.398 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.01209/1.011, allocations: 7.537 MB / 1.406 GB, free: 15.38 MB / 0.8386 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