Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") 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.852 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.001073/0.001073, allocations: 192.7 kB / 321.3 MB, free: 14.63 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.6/1.6, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009179/0.0009179, allocations: 93.41 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.768e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.825/1.075, allocations: 144.3 MB / 1.033 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.075, allocations: 76.78 kB / 1.033 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09266/1.168, allocations: 28.18 MB / 1.06 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/1.168, allocations: 0 / 1.06 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.846e-05/1.168, allocations: 12 kB / 1.06 GB, free: 14.16 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001409/1.169, allocations: 0.8218 MB / 1.061 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.169, allocations: 8.031 kB / 1.061 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/1.17, allocations: 71.16 kB / 1.061 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/1.172, allocations: 1.235 MB / 1.062 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.172, allocations: 22 kB / 1.062 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/1.172, allocations: 46.16 kB / 1.062 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/1.173, allocations: 361.4 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.173, allocations: 0 / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/1.173, allocations: 18.98 kB / 1.063 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.173, allocations: 4 kB / 1.063 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/1.173, allocations: 219.3 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/1.176, allocations: 2.084 MB / 1.065 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/1.177, allocations: 390.8 kB / 1.065 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.177, allocations: 142.6 kB / 1.066 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/1.177, allocations: 0 / 1.066 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.177, allocations: 34.56 kB / 1.066 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/1.177, allocations: 0 / 1.066 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0007438/1.178, allocations: 334.6 kB / 1.066 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.178, allocations: 55.41 kB / 1.066 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.179, allocations: 0.9028 MB / 1.067 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.179, allocations: 42.89 kB / 1.067 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/1.18, allocations: 296.7 kB / 1.067 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.18, allocations: 66.45 kB / 1.067 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/1.18, allocations: 10.56 kB / 1.067 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.18, allocations: 380.6 kB / 1.068 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/1.18, allocations: 221.5 kB / 1.068 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/1.181, allocations: 489.6 kB / 1.068 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/1.182, allocations: 302.4 kB / 1.069 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.182, allocations: 4 kB / 1.069 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001166/1.183, allocations: 0.7878 MB / 1.069 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.183, allocations: 8 kB / 1.069 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.183, allocations: 16 kB / 1.069 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/1.183, allocations: 59.75 kB / 1.069 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/1.184, allocations: 135.5 kB / 1.07 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/1.185, allocations: 1.439 MB / 1.071 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.186, allocations: 202.1 kB / 1.071 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.186, allocations: 26.94 kB / 1.071 GB, free: 4.281 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001299/1.186, allocations: 139.4 kB / 1.071 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.186, allocations: 67.19 kB / 1.071 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/1.186, allocations: 63.42 kB / 1.071 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.186, allocations: 7.984 kB / 1.071 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.186, allocations: 4 kB / 1.071 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/1.186, allocations: 0 / 1.071 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/1.187, allocations: 0.6673 MB / 1.072 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.187, allocations: 0 / 1.072 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/1.187, allocations: 55.66 kB / 1.072 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/1.188, allocations: 36.58 kB / 1.072 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/1.188, allocations: 11.23 kB / 1.072 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.189, allocations: 1.413 MB / 1.074 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/1.189, allocations: 3.938 kB / 1.074 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/1.189, allocations: 0.555 MB / 1.074 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/1.19, allocations: 354.7 kB / 1.074 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/1.19, allocations: 11.67 kB / 1.074 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/1.19, allocations: 86.72 kB / 1.075 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/1.191, allocations: 7.984 kB / 1.075 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.191, allocations: 11.25 kB / 1.075 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008843/1.191, allocations: 0.6866 MB / 1.075 GB, free: 500 kB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.191, allocations: 0 / 1.075 GB, free: 500 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006966/1.192, allocations: 197.3 kB / 1.075 GB, free: 316 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0003163/1.192, allocations: 183.7 kB / 1.076 GB, free: 124 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009178/1.193, allocations: 0.5486 MB / 1.076 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.193, allocations: 0 / 1.076 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/1.194, allocations: 242.3 kB / 1.076 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/1.194, allocations: 164.4 kB / 1.077 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.196, allocations: 1.24 MB / 1.078 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/1.197, allocations: 1.021 MB / 1.079 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004313/1.197, allocations: 184.5 kB / 1.079 GB, free: 13.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.198, allocations: 43.25 kB / 1.079 GB, free: 12.97 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.198, allocations: 0 / 1.079 GB, free: 12.97 MB / 0.698 GB Notification: Performance of Templates: time 0.01925/1.217, allocations: 9.453 MB / 1.088 GB, free: 3.617 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches