Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.0009316, allocations: 96.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.401e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8361/1.079, allocations: 141.2 MB / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.079, allocations: 86.38 kB / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06465/1.144, allocations: 18.47 MB / 1.048 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.615e-06/1.144, allocations: 3.938 kB / 1.048 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.002e-05/1.144, allocations: 23.92 kB / 1.048 GB, free: 9.57 MB / 0.6667 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.001377/1.145, allocations: 0.9323 MB / 1.049 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.146, allocations: 8.031 kB / 1.049 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/1.146, allocations: 102.8 kB / 1.049 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/1.148, allocations: 1.062 MB / 1.05 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/1.148, allocations: 38.72 kB / 1.05 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/1.148, allocations: 60.16 kB / 1.05 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/1.149, allocations: 387.8 kB / 1.05 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.149, allocations: 3.938 kB / 1.05 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/1.149, allocations: 18.2 kB / 1.05 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.149, allocations: 8 kB / 1.05 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/1.149, allocations: 208.8 kB / 1.051 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/1.152, allocations: 2.294 MB / 1.053 GB, free: 5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.153, allocations: 486.1 kB / 1.053 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/1.153, allocations: 143.8 kB / 1.053 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/1.153, allocations: 4.234 kB / 1.053 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.153, allocations: 40.17 kB / 1.053 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/1.153, allocations: 0 / 1.053 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001849/1.155, allocations: 0.9816 MB / 1.054 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.155, allocations: 55.41 kB / 1.054 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.156, allocations: 0.8061 MB / 1.055 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/1.156, allocations: 39.52 kB / 1.055 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/1.157, allocations: 367 kB / 1.056 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.157, allocations: 115 kB / 1.056 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/1.157, allocations: 18.75 kB / 1.056 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.157, allocations: 402.6 kB / 1.056 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/1.157, allocations: 210.4 kB / 1.056 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/1.158, allocations: 0.5933 MB / 1.057 GB, free: 1.336 MB / 0.6667 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.002167/1.16, allocations: 1.021 MB / 1.058 GB, free: 452 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.16, allocations: 4 kB / 1.058 GB, free: 448 kB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001512/1.162, allocations: 0.8663 MB / 1.059 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.162, allocations: 15.98 kB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.162, allocations: 12 kB / 1.059 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/1.162, allocations: 48.72 kB / 1.059 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/1.163, allocations: 219.3 kB / 1.059 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.164, allocations: 1.36 MB / 1.06 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.165, allocations: 58.33 kB / 1.06 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/1.165, allocations: 42.81 kB / 1.06 GB, free: 13.92 MB / 0.6823 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.0002061/1.165, allocations: 182 kB / 1.061 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.165, allocations: 78.97 kB / 1.061 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/1.166, allocations: 79.66 kB / 1.061 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.166, allocations: 4 kB / 1.061 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.166, allocations: 3.953 kB / 1.061 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.166, allocations: 3.984 kB / 1.061 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/1.167, allocations: 1.188 MB / 1.062 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.167, allocations: 0 / 1.062 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/1.168, allocations: 87.81 kB / 1.062 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/1.168, allocations: 28.47 kB / 1.062 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/1.168, allocations: 14.73 kB / 1.062 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/1.169, allocations: 1.326 MB / 1.063 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.169, allocations: 4.031 kB / 1.063 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/1.17, allocations: 0.6769 MB / 1.064 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/1.17, allocations: 215 kB / 1.064 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/1.17, allocations: 11.5 kB / 1.064 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/1.171, allocations: 35.45 kB / 1.064 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/1.171, allocations: 27.41 kB / 1.064 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.171, allocations: 10.88 kB / 1.064 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007586/1.172, allocations: 0.6005 MB / 1.065 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.723e-06/1.172, allocations: 0 / 1.065 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008646/1.172, allocations: 213.4 kB / 1.065 GB, free: 9.555 MB / 0.6823 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.0002835/1.173, allocations: 170.4 kB / 1.065 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.174, allocations: 0.6169 MB / 1.066 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.174, allocations: 0 / 1.066 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/1.174, allocations: 263.7 kB / 1.066 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/1.175, allocations: 168.5 kB / 1.066 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.177, allocations: 1.27 MB / 1.068 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/1.177, allocations: 1.003 MB / 1.069 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004436/1.178, allocations: 157.8 kB / 1.069 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.178, allocations: 54.98 kB / 1.069 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.178, allocations: 3.938 kB / 1.069 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of Templates: time 0.01825/1.196, allocations: 9.565 MB / 1.078 GB, free: 12.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches