Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001069/0.001069, allocations: 180.8 kB / 321.3 MB, free: 14.66 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.616/1.616, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.001123/0.001123, allocations: 78.55 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.848e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2491, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7968/1.046, allocations: 144.3 MB / 1.033 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.046, allocations: 70.66 kB / 1.033 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09281/1.139, allocations: 28.16 MB / 1.06 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/1.139, allocations: 0 / 1.06 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.114e-05/1.139, allocations: 16 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.001356/1.141, allocations: 0.8228 MB / 1.061 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.141, allocations: 8.031 kB / 1.061 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/1.141, allocations: 75.16 kB / 1.061 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/1.143, allocations: 1.224 MB / 1.062 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/1.143, allocations: 34.38 kB / 1.062 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/1.143, allocations: 38.09 kB / 1.062 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/1.144, allocations: 365.4 kB / 1.063 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.144, allocations: 4 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/1.144, allocations: 7.5 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.144, allocations: 8 kB / 1.063 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/1.144, allocations: 221.5 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/1.147, allocations: 2.088 MB / 1.065 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/1.148, allocations: 389.1 kB / 1.065 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/1.148, allocations: 130 kB / 1.066 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/1.148, allocations: 8 kB / 1.066 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/1.149, allocations: 34.55 kB / 1.066 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/1.149, allocations: 0 / 1.066 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006328/1.149, allocations: 339.3 kB / 1.066 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.149, allocations: 51.41 kB / 1.066 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.15, allocations: 0.9061 MB / 1.067 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/1.15, allocations: 32.02 kB / 1.067 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.151, allocations: 303.6 kB / 1.067 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/1.151, allocations: 73.19 kB / 1.067 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.151, allocations: 11.38 kB / 1.067 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.151, allocations: 378.3 kB / 1.068 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/1.151, allocations: 221.5 kB / 1.068 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/1.152, allocations: 490.8 kB / 1.068 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/1.152, allocations: 303.4 kB / 1.069 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.152, allocations: 4 kB / 1.069 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001161/1.153, allocations: 0.785 MB / 1.069 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.153, allocations: 12 kB / 1.069 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.153, allocations: 8 kB / 1.069 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/1.154, allocations: 55.58 kB / 1.069 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/1.154, allocations: 139.7 kB / 1.07 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/1.155, allocations: 1.437 MB / 1.071 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/1.157, allocations: 205 kB / 1.071 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/1.157, allocations: 27.31 kB / 1.071 GB, free: 4.285 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.0001255/1.157, allocations: 137.7 kB / 1.071 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.157, allocations: 63.2 kB / 1.071 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/1.157, allocations: 67.03 kB / 1.071 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.157, allocations: 4 kB / 1.071 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.157, allocations: 3.938 kB / 1.071 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.157, allocations: 3.984 kB / 1.071 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/1.158, allocations: 0.6663 MB / 1.072 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.158, allocations: 0 / 1.072 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/1.158, allocations: 54.78 kB / 1.072 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/1.158, allocations: 40.27 kB / 1.072 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.158, allocations: 7.984 kB / 1.072 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/1.159, allocations: 1.415 MB / 1.074 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.159, allocations: 3.938 kB / 1.074 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/1.16, allocations: 0.5546 MB / 1.074 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/1.16, allocations: 352.8 kB / 1.074 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/1.161, allocations: 11.94 kB / 1.074 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/1.161, allocations: 83.47 kB / 1.075 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/1.161, allocations: 11.98 kB / 1.075 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.161, allocations: 11.8 kB / 1.075 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008658/1.162, allocations: 0.6831 MB / 1.075 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.162, allocations: 0 / 1.075 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007878/1.163, allocations: 200.6 kB / 1.075 GB, free: 324 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.0003464/1.163, allocations: 191.5 kB / 1.076 GB, free: 124 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009228/1.164, allocations: 0.5466 MB / 1.076 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.164, allocations: 4 kB / 1.076 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/1.164, allocations: 235.9 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.000693/1.165, allocations: 168.2 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.001884/1.167, allocations: 1.246 MB / 1.078 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/1.168, allocations: 1.021 MB / 1.079 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004266/1.168, allocations: 184.5 kB / 1.079 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.168, allocations: 35.44 kB / 1.079 GB, free: 12.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.168, allocations: 0 / 1.079 GB, free: 12.97 MB / 0.698 GB Notification: Performance of Templates: time 0.01691/1.185, allocations: 9.449 MB / 1.088 GB, free: 3.625 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches