Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009416/0.0009417, allocations: 172.9 kB / 492.3 MB, free: 0.6133 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.53/1.53, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008651/0.0008651, allocations: 95.89 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.851e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3044, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9626/1.267, allocations: 158.8 MB / 1.367 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.267, allocations: 79.38 kB / 1.367 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06039/1.328, allocations: 18.65 MB / 1.386 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/1.328, allocations: 0 / 1.386 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.697e-05/1.328, allocations: 19.25 kB / 1.386 GB, free: 30.75 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.001365/1.329, allocations: 0.9274 MB / 1.387 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.329, allocations: 11.56 kB / 1.387 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/1.329, allocations: 100.7 kB / 1.387 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/1.331, allocations: 1.068 MB / 1.388 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/1.331, allocations: 34.53 kB / 1.388 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/1.331, allocations: 56.91 kB / 1.388 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/1.332, allocations: 389.9 kB / 1.388 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.332, allocations: 0 / 1.388 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/1.332, allocations: 18.48 kB / 1.388 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.332, allocations: 11.69 kB / 1.388 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/1.332, allocations: 215.4 kB / 1.388 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/1.335, allocations: 2.29 MB / 1.391 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.336, allocations: 482.8 kB / 1.391 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/1.336, allocations: 146.6 kB / 1.391 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.336, allocations: 4.016 kB / 1.391 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.336, allocations: 36.66 kB / 1.391 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/1.336, allocations: 4 kB / 1.391 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.001357/1.337, allocations: 0.9734 MB / 1.392 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/1.337, allocations: 55.25 kB / 1.392 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/1.338, allocations: 0.8065 MB / 1.393 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.338, allocations: 39.67 kB / 1.393 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/1.338, allocations: 371.5 kB / 1.394 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/1.338, allocations: 110.8 kB / 1.394 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.338, allocations: 17.88 kB / 1.394 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.339, allocations: 392.4 kB / 1.394 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/1.339, allocations: 210.7 kB / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/1.339, allocations: 0.5987 MB / 1.395 GB, free: 25.54 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/1.341, allocations: 1.023 MB / 1.396 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.341, allocations: 3.875 kB / 1.396 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001142/1.342, allocations: 0.8643 MB / 1.397 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.342, allocations: 11.53 kB / 1.397 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.342, allocations: 15.53 kB / 1.397 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/1.342, allocations: 66.47 kB / 1.397 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/1.343, allocations: 212.2 kB / 1.397 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008842/1.344, allocations: 1.362 MB / 1.398 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/1.345, allocations: 64.28 kB / 1.398 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/1.345, allocations: 41.16 kB / 1.398 GB, free: 23.43 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). 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 (97): * Single equations (assignments): 96 * 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.0001538/1.345, allocations: 179.8 kB / 1.399 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/1.345, allocations: 92.97 kB / 1.399 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/1.345, allocations: 77.27 kB / 1.399 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.345, allocations: 7.859 kB / 1.399 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.345, allocations: 0 / 1.399 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.345, allocations: 0 / 1.399 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/1.347, allocations: 1.187 MB / 1.4 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.347, allocations: 0 / 1.4 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/1.347, allocations: 84.91 kB / 1.4 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/1.347, allocations: 35.42 kB / 1.4 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.347, allocations: 11.53 kB / 1.4 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/1.348, allocations: 1.325 MB / 1.401 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.348, allocations: 11.97 kB / 1.401 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/1.349, allocations: 0.6764 MB / 1.402 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/1.349, allocations: 204.5 kB / 1.402 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/1.349, allocations: 22.67 kB / 1.402 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/1.35, allocations: 34.52 kB / 1.402 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/1.35, allocations: 18.64 kB / 1.402 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/1.35, allocations: 7.719 kB / 1.402 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006588/1.351, allocations: 0.6015 MB / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.5e-07/1.351, allocations: 0 / 1.403 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000736/1.351, allocations: 203.6 kB / 1.403 GB, free: 20.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.0002362/1.352, allocations: 173.5 kB / 1.403 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008959/1.352, allocations: 0.6239 MB / 1.404 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.352, allocations: 448 / 1.404 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/1.353, allocations: 264.8 kB / 1.404 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/1.353, allocations: 172.3 kB / 1.404 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.355, allocations: 1.275 MB / 1.405 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/1.356, allocations: 1.005 MB / 1.406 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.356, allocations: 153.8 kB / 1.407 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.356, allocations: 51.44 kB / 1.407 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.356, allocations: 0 / 1.407 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.02066/1.377, allocations: 9.565 MB / 1.416 GB, free: 7.336 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches