Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001092/0.001093, allocations: 178.8 kB / 326.5 MB, free: 2.266 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.792/1.792, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008405/0.0008405, allocations: 94.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 15.78 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.3694, allocations: 144.4 MB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3697, allocations: 79.97 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5279/0.8976, allocations: 28.15 MB / 1.069 GB, free: 145.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8976, allocations: 0 / 1.069 GB, free: 145.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001464/0.8978, allocations: 11.38 kB / 1.069 GB, free: 145.9 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.004493/0.9023, allocations: 1.196 MB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.9024, allocations: 9.219 kB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.9031, allocations: 85.88 kB / 1.07 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.9069, allocations: 1.254 MB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.9069, allocations: 30.23 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9071, allocations: 44.03 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.9078, allocations: 368.9 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.9079, allocations: 0.8438 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.9079, allocations: 9.531 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.9079, allocations: 9.484 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.9084, allocations: 238.2 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.912, allocations: 2.081 MB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.9131, allocations: 406.2 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.9132, allocations: 2.438 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.9132, allocations: 31.69 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.9132, allocations: 4 kB / 1.074 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001145/0.9143, allocations: 0.5369 MB / 1.075 GB, free: 143.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.9144, allocations: 58.14 kB / 1.075 GB, free: 143.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.9159, allocations: 0.9182 MB / 1.076 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.9159, allocations: 34.95 kB / 1.076 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.9162, allocations: 298.3 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.9163, allocations: 77.78 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.9163, allocations: 10.22 kB / 1.076 GB, free: 143.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9165, allocations: 378.1 kB / 1.077 GB, free: 143 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.9169, allocations: 235 kB / 1.077 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.9173, allocations: 0.4927 MB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.9178, allocations: 307.5 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.9178, allocations: 2.906 kB / 1.078 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001379/0.9192, allocations: 0.7973 MB / 1.078 GB, free: 142.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.9193, allocations: 9.625 kB / 1.078 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.9193, allocations: 10.72 kB / 1.078 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.9196, allocations: 61.11 kB / 1.078 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.9201, allocations: 136.8 kB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.9212, allocations: 1.449 MB / 1.08 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.9224, allocations: 201.4 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.9225, allocations: 27.25 kB / 1.08 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.0004811/0.923, allocations: 344.2 kB / 1.08 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9232, allocations: 58.66 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.9233, allocations: 69.81 kB / 1.081 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.9233, allocations: 5.984 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.9233, allocations: 1.094 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9234, allocations: 4 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.9243, allocations: 0.6645 MB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.9244, allocations: 7.578 kB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.9246, allocations: 51.69 kB / 1.081 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.9248, allocations: 39.03 kB / 1.081 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.9248, allocations: 15.58 kB / 1.081 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009242/0.9258, allocations: 1.434 MB / 1.083 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9258, allocations: 1.531 kB / 1.083 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.9267, allocations: 0.569 MB / 1.083 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.9272, allocations: 350.2 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.9273, allocations: 12.33 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.9279, allocations: 94.11 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.928, allocations: 12.97 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.928, allocations: 6.25 kB / 1.084 GB, free: 139 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001116/0.9292, allocations: 0.6972 MB / 1.084 GB, free: 138.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9292, allocations: 0 / 1.084 GB, free: 138.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001066/0.9302, allocations: 198.2 kB / 1.085 GB, free: 138.9 MB / 0.698 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 () * Number of clocked 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.0003197/0.9306, allocations: 161.7 kB / 1.085 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.9316, allocations: 0.5747 MB / 1.085 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9316, allocations: 0 / 1.085 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.932, allocations: 253 kB / 1.086 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.9329, allocations: 157.1 kB / 1.086 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.9358, allocations: 1.791 MB / 1.088 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.9365, allocations: 1.022 MB / 1.089 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004461/0.9369, allocations: 183.5 kB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.937, allocations: 34.66 kB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.9371, allocations: 4 kB / 1.089 GB, free: 136.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01483/0.9519, allocations: 9.044 MB / 1.098 GB, free: 132.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches