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.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.0009514/0.0009513, allocations: 191.9 kB / 321.3 MB, free: 14.64 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.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008092/0.0008089, allocations: 88.38 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.469e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.072, allocations: 141.3 MB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.073, allocations: 73.47 kB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/1.178, allocations: 28.74 MB / 1.058 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.392e-06/1.178, allocations: 0 / 1.058 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.448e-05/1.178, allocations: 20 kB / 1.058 GB, free: 0.5078 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.001549/1.18, allocations: 0.9355 MB / 1.059 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.18, allocations: 12.03 kB / 1.059 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/1.18, allocations: 98.78 kB / 1.059 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/1.182, allocations: 1.05 MB / 1.06 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/1.182, allocations: 45.23 kB / 1.06 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/1.182, allocations: 53.06 kB / 1.06 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/1.183, allocations: 403.8 kB / 1.06 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.183, allocations: 4 kB / 1.06 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/1.183, allocations: 13.75 kB / 1.06 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.183, allocations: 12 kB / 1.06 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/1.184, allocations: 207.2 kB / 1.061 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/1.187, allocations: 2.583 MB / 1.063 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.188, allocations: 0.5414 MB / 1.064 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/1.188, allocations: 154.3 kB / 1.064 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/1.188, allocations: 7.875 kB / 1.064 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.188, allocations: 42.5 kB / 1.064 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/1.188, allocations: 0 / 1.064 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0008889/1.189, allocations: 455.5 kB / 1.064 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.189, allocations: 55.41 kB / 1.064 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.19, allocations: 0.8044 MB / 1.065 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/1.19, allocations: 42.52 kB / 1.065 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/1.191, allocations: 368.3 kB / 1.066 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.191, allocations: 111.5 kB / 1.066 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/1.191, allocations: 17.62 kB / 1.066 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.191, allocations: 392.8 kB / 1.066 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/1.191, allocations: 231.8 kB / 1.066 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/1.192, allocations: 0.6253 MB / 1.067 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/1.193, allocations: 333.8 kB / 1.067 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.193, allocations: 4 kB / 1.067 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001472/1.194, allocations: 0.9951 MB / 1.068 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/1.194, allocations: 12 kB / 1.068 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.194, allocations: 16 kB / 1.068 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/1.195, allocations: 120.3 kB / 1.068 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/1.195, allocations: 194 kB / 1.069 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/1.198, allocations: 4.152 MB / 1.073 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.2, allocations: 144.2 kB / 1.073 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/1.2, allocations: 39.62 kB / 1.073 GB, free: 2.461 MB / 0.6823 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 () * 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.0001647/1.2, allocations: 164.8 kB / 1.073 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.2, allocations: 82.91 kB / 1.073 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/1.2, allocations: 84.08 kB / 1.073 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.2, allocations: 4 kB / 1.073 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.2, allocations: 0 / 1.073 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.2, allocations: 4 kB / 1.073 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/1.201, allocations: 0.7119 MB / 1.074 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.201, allocations: 0 / 1.074 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/1.202, allocations: 63.39 kB / 1.074 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/1.202, allocations: 103.9 kB / 1.074 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/1.202, allocations: 15.17 kB / 1.074 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/1.205, allocations: 4.119 MB / 1.078 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.205, allocations: 0 / 1.078 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.206, allocations: 0.7222 MB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/1.206, allocations: 211.4 kB / 1.079 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/1.206, allocations: 14.92 kB / 1.079 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/1.207, allocations: 43.73 kB / 1.079 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/1.207, allocations: 31.14 kB / 1.079 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/1.207, allocations: 7.938 kB / 1.079 GB, free: 12.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007897/1.208, allocations: 0.5985 MB / 1.08 GB, free: 11.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.208, allocations: 0 / 1.08 GB, free: 11.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001025/1.209, allocations: 288.6 kB / 1.08 GB, free: 11.52 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 () * 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.0003499/1.209, allocations: 175.5 kB / 1.08 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001456/1.211, allocations: 0.8921 MB / 1.081 GB, free: 10.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.211, allocations: 0 / 1.081 GB, free: 10.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/1.212, allocations: 0.5161 MB / 1.081 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/1.212, allocations: 169.1 kB / 1.082 GB, free: 9.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/1.215, allocations: 1.397 MB / 1.083 GB, free: 8.586 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/1.215, allocations: 1.007 MB / 1.084 GB, free: 7.566 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004585/1.216, allocations: 145.9 kB / 1.084 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/1.216, allocations: 51.38 kB / 1.084 GB, free: 7.371 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.216, allocations: 0 / 1.084 GB, free: 7.371 MB / 0.698 GB Notification: Performance of Templates: time 0.02026/1.236, allocations: 10.76 MB / 1.095 GB, free: 12.72 MB / 0.7136 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