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.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001074, allocations: 185 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008714/0.0008715, allocations: 84.72 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003235, allocations: 9.281 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.4043, allocations: 141.3 MB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4046, allocations: 83.95 kB / 1.038 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5111/0.9158, allocations: 18.46 MB / 1.056 GB, free: 143.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9158, allocations: 1.781 kB / 1.056 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001542/0.916, allocations: 20.12 kB / 1.056 GB, free: 143.7 MB / 0.698 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.003476/0.9195, allocations: 1.193 MB / 1.057 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9195, allocations: 11.34 kB / 1.057 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.9198, allocations: 102.7 kB / 1.057 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.922, allocations: 1.076 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.9221, allocations: 40 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.9221, allocations: 56.25 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.9227, allocations: 401.7 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.9227, allocations: 4.906 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.9227, allocations: 11.38 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.9227, allocations: 8.562 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.9231, allocations: 228.3 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.9256, allocations: 2.287 MB / 1.061 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.9268, allocations: 493.4 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.9268, allocations: 6.453 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.9269, allocations: 37.36 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.9269, allocations: 0 / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001843/0.9287, allocations: 1.202 MB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.9288, allocations: 61.69 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.9298, allocations: 0.815 MB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.9298, allocations: 43.52 kB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.9301, allocations: 366.9 kB / 1.064 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.9302, allocations: 115.4 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.9303, allocations: 15.84 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9304, allocations: 391.7 kB / 1.065 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.9308, allocations: 222.8 kB / 1.065 GB, free: 140.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.9313, allocations: 0.6143 MB / 1.066 GB, free: 139.7 MB / 0.698 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.002025/0.9333, allocations: 1.052 MB / 1.067 GB, free: 139.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9333, allocations: 6.969 kB / 1.067 GB, free: 139.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001541/0.9349, allocations: 0.8888 MB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.9349, allocations: 11.66 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.9349, allocations: 13.88 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.9351, allocations: 50.95 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.9359, allocations: 215.7 kB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009438/0.9368, allocations: 1.357 MB / 1.069 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.9378, allocations: 68.69 kB / 1.069 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.9379, allocations: 39.81 kB / 1.069 GB, free: 138.1 MB / 0.698 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.0004866/0.9384, allocations: 306.3 kB / 1.07 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.9385, allocations: 81.62 kB / 1.07 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.9387, allocations: 80.97 kB / 1.07 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.9387, allocations: 4.062 kB / 1.07 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.9387, allocations: 0.7188 kB / 1.07 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.9387, allocations: 1.828 kB / 1.07 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.9409, allocations: 1.203 MB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9409, allocations: 1.578 kB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.9414, allocations: 87.25 kB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.9415, allocations: 37.88 kB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.9415, allocations: 9.844 kB / 1.071 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008163/0.9424, allocations: 1.337 MB / 1.072 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9424, allocations: 5.953 kB / 1.072 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.9434, allocations: 0.7042 MB / 1.073 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.9438, allocations: 211.6 kB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.9439, allocations: 10.05 kB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.9444, allocations: 35.55 kB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.9445, allocations: 25.69 kB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.9445, allocations: 10.84 kB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001059/0.9456, allocations: 0.6091 MB / 1.074 GB, free: 135.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9456, allocations: 3.938 kB / 1.074 GB, free: 135.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001114/0.9467, allocations: 206.1 kB / 1.074 GB, free: 135.7 MB / 0.698 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.0002892/0.947, allocations: 167.6 kB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.9483, allocations: 0.6351 MB / 1.075 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9483, allocations: 4 kB / 1.075 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.9487, allocations: 266.6 kB / 1.075 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.9495, allocations: 164 kB / 1.075 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.9521, allocations: 1.924 MB / 1.077 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.9527, allocations: 1.003 MB / 1.078 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005174/0.9533, allocations: 158.4 kB / 1.078 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.9534, allocations: 50.31 kB / 1.078 GB, free: 133.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/0.9534, allocations: 0 / 1.078 GB, free: 133.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01967/0.9731, allocations: 9.156 MB / 1.087 GB, free: 133.1 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