Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001082/0.001082, allocations: 174.4 kB / 326.5 MB, free: 2.246 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.814/1.814, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.000848/0.0008481, allocations: 94.09 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 6.562 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 106.3 MB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4034, allocations: 141.4 MB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4037, allocations: 87.95 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5628/0.9665, allocations: 28.7 MB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9666, allocations: 0.9062 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001272/0.9667, allocations: 19.62 kB / 1.066 GB, free: 145.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.004208/0.9709, allocations: 1.203 MB / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.971, allocations: 13.44 kB / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.9715, allocations: 104.7 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.9746, allocations: 1.052 MB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.9747, allocations: 43.39 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9748, allocations: 57.72 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.9756, allocations: 407.4 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.9756, allocations: 4.812 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.9756, allocations: 14.5 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.9756, allocations: 11.8 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.9762, allocations: 234.6 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.9798, allocations: 2.57 MB / 1.072 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.9815, allocations: 0.5478 MB / 1.072 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.9815, allocations: 6.859 kB / 1.072 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.9816, allocations: 32.44 kB / 1.072 GB, free: 142.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.9816, allocations: 4 kB / 1.072 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001946/0.9835, allocations: 0.8954 MB / 1.073 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.9836, allocations: 54.44 kB / 1.073 GB, free: 142.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.985, allocations: 0.8111 MB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.9851, allocations: 43.33 kB / 1.074 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.9853, allocations: 365.4 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.9855, allocations: 119.9 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.9855, allocations: 17.44 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9856, allocations: 395.8 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.986, allocations: 239.1 kB / 1.075 GB, free: 141.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.9868, allocations: 0.6418 MB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/0.9877, allocations: 335.6 kB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.9877, allocations: 7.312 kB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002528/0.9902, allocations: 1.019 MB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.9903, allocations: 12.09 kB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.9903, allocations: 13.5 kB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.9909, allocations: 124.1 kB / 1.077 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.992, allocations: 190.9 kB / 1.078 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.9955, allocations: 4.202 MB / 1.082 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.9976, allocations: 145 kB / 1.082 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.9977, allocations: 39.28 kB / 1.082 GB, free: 137.1 MB / 0.698 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005532/0.9983, allocations: 270.7 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.9985, allocations: 83.19 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.9987, allocations: 81.94 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.9987, allocations: 2.781 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.9987, allocations: 1.531 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.9987, allocations: 5.125 kB / 1.082 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.9999, allocations: 0.7033 MB / 1.083 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1, allocations: 0 / 1.083 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/1.001, allocations: 66.83 kB / 1.083 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/1.001, allocations: 103.9 kB / 1.083 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/1.001, allocations: 9.531 kB / 1.083 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/1.004, allocations: 4.169 MB / 1.087 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.004, allocations: 1.062 kB / 1.087 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.006, allocations: 0.7412 MB / 1.088 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/1.006, allocations: 213 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/1.007, allocations: 12.61 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.008, allocations: 52.59 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/1.008, allocations: 20.98 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.008, allocations: 10.69 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001268/1.009, allocations: 0.6165 MB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.643e-06/1.009, allocations: 0 / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001533/1.011, allocations: 284.4 kB / 1.089 GB, free: 132.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/1.011, allocations: 166.1 kB / 1.089 GB, free: 132.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001855/1.013, allocations: 0.9155 MB / 1.09 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.013, allocations: 0 / 1.09 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/1.013, allocations: 0.525 MB / 1.091 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.015, allocations: 167.8 kB / 1.091 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/1.018, allocations: 2.045 MB / 1.093 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/1.019, allocations: 1.004 MB / 1.094 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006242/1.02, allocations: 152.3 kB / 1.094 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.02, allocations: 48.81 kB / 1.094 GB, free: 129.7 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/1.02, allocations: 0 / 1.094 GB, free: 129.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02024/1.04, allocations: 10.33 MB / 1.104 GB, free: 125.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches