Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 387.1 MB / 399.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 184.1 kB / 492.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 87.89 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.522e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9683/1.301, allocations: 158.9 MB / 1.368 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.302, allocations: 76.56 kB / 1.368 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1005/1.402, allocations: 29.01 MB / 1.396 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.402, allocations: 0 / 1.396 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001103/1.402, allocations: 22.47 kB / 1.396 GB, free: 26.73 MB / 0.8386 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.002041/1.404, allocations: 0.9344 MB / 1.397 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.404, allocations: 11.47 kB / 1.397 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004641/1.405, allocations: 100.2 kB / 1.397 GB, free: 26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/1.408, allocations: 1.047 MB / 1.398 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/1.408, allocations: 45.45 kB / 1.398 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.408, allocations: 62.75 kB / 1.398 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/1.408, allocations: 393.1 kB / 1.398 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.408, allocations: 0 / 1.398 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/1.408, allocations: 19.05 kB / 1.398 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.408, allocations: 11.66 kB / 1.398 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/1.409, allocations: 210.6 kB / 1.399 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/1.412, allocations: 2.576 MB / 1.401 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/1.414, allocations: 0.5461 MB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/1.414, allocations: 150 kB / 1.402 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.414, allocations: 4 kB / 1.402 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.414, allocations: 37.94 kB / 1.402 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/1.414, allocations: 0 / 1.402 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0009099/1.415, allocations: 470.5 kB / 1.402 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/1.415, allocations: 55.41 kB / 1.402 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.416, allocations: 0.8119 MB / 1.403 GB, free: 21.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.416, allocations: 40.2 kB / 1.403 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/1.416, allocations: 356.4 kB / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.417, allocations: 119.9 kB / 1.404 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/1.417, allocations: 16.62 kB / 1.404 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.417, allocations: 401.8 kB / 1.404 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/1.417, allocations: 230.4 kB / 1.404 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/1.418, allocations: 0.6273 MB / 1.405 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/1.418, allocations: 330.4 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.418, allocations: 4 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00143/1.42, allocations: 0.9884 MB / 1.406 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.42, allocations: 13.09 kB / 1.406 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.42, allocations: 12 kB / 1.406 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/1.42, allocations: 127 kB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/1.421, allocations: 195.5 kB / 1.407 GB, free: 18.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/1.423, allocations: 4.16 MB / 1.411 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.425, allocations: 129.7 kB / 1.411 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/1.425, allocations: 42.38 kB / 1.411 GB, free: 13.95 MB / 0.8386 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.0001846/1.425, allocations: 169 kB / 1.411 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.425, allocations: 82.88 kB / 1.411 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/1.425, allocations: 83.02 kB / 1.411 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.425, allocations: 4 kB / 1.411 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.425, allocations: 0 / 1.411 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.425, allocations: 0 / 1.411 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/1.426, allocations: 0.7139 MB / 1.412 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.426, allocations: 0 / 1.412 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/1.427, allocations: 63.27 kB / 1.412 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/1.427, allocations: 107.9 kB / 1.412 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/1.427, allocations: 15.48 kB / 1.412 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/1.43, allocations: 4.117 MB / 1.416 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.43, allocations: 4 kB / 1.416 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/1.431, allocations: 0.7167 MB / 1.417 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/1.432, allocations: 220.6 kB / 1.417 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.432, allocations: 11.67 kB / 1.417 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/1.433, allocations: 43.45 kB / 1.417 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/1.433, allocations: 23.34 kB / 1.417 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.433, allocations: 11.48 kB / 1.417 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008648/1.434, allocations: 0.5975 MB / 1.418 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.51e-07/1.434, allocations: 0 / 1.418 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001043/1.435, allocations: 290.2 kB / 1.418 GB, free: 7.004 MB / 0.8386 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.0003075/1.435, allocations: 183.9 kB / 1.418 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.436, allocations: 0.89 MB / 1.419 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.436, allocations: 0 / 1.419 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/1.437, allocations: 0.5174 MB / 1.419 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/1.438, allocations: 164.2 kB / 1.42 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/1.44, allocations: 1.379 MB / 1.421 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/1.441, allocations: 1.013 MB / 1.422 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005479/1.441, allocations: 149.9 kB / 1.422 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.442, allocations: 47.44 kB / 1.422 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/1.442, allocations: 0 / 1.422 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of Templates: time 0.0205/1.462, allocations: 10.75 MB / 1.433 GB, free: 8.277 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches