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.082/2.082, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001132/0.001132, allocations: 172.8 kB / 487.4 MB, free: 5.051 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.311/1.311, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 94.58 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.093e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6873/0.8876, allocations: 158.2 MB / 1.36 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.8878, allocations: 77.58 kB / 1.361 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09351/0.9814, allocations: 28.4 MB / 1.388 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9814, allocations: 0 / 1.388 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.023e-05/0.9815, allocations: 22.88 kB / 1.388 GB, free: 27.62 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.001538/0.983, allocations: 0.9333 MB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.9831, allocations: 7.688 kB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.9834, allocations: 104.9 kB / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.9855, allocations: 1.05 MB / 1.39 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.9856, allocations: 15.42 kB / 1.39 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.9856, allocations: 42.59 kB / 1.39 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000325/0.986, allocations: 192.1 kB / 1.391 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.9864, allocations: 343 kB / 1.391 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9865, allocations: 7.844 kB / 1.391 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.9865, allocations: 0.5625 kB / 1.391 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9865, allocations: 7.812 kB / 1.391 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.9891, allocations: 2.488 MB / 1.393 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.9902, allocations: 0.5292 MB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.9904, allocations: 147.4 kB / 1.394 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.9904, allocations: 3.844 kB / 1.394 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.9905, allocations: 38.48 kB / 1.394 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.9905, allocations: 0 / 1.394 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0006778/0.9911, allocations: 440.8 kB / 1.394 GB, free: 24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.9912, allocations: 59 kB / 1.394 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.9922, allocations: 0.7519 MB / 1.395 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.9922, allocations: 25.7 kB / 1.395 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.9925, allocations: 359 kB / 1.396 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.9926, allocations: 114.2 kB / 1.396 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.9926, allocations: 0 / 1.396 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9928, allocations: 392 kB / 1.396 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.9931, allocations: 216.2 kB / 1.396 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.9935, allocations: 0.6074 MB / 1.397 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.9938, allocations: 313.5 kB / 1.397 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.9939, allocations: 3.844 kB / 1.397 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001161/0.995, allocations: 0.8909 MB / 1.398 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9951, allocations: 11.69 kB / 1.398 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9951, allocations: 11.53 kB / 1.398 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.9954, allocations: 126.2 kB / 1.398 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.996, allocations: 184.8 kB / 1.398 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.9986, allocations: 4.042 MB / 1.402 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9998, allocations: 119.7 kB / 1.402 GB, free: 18.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.9999, allocations: 44.94 kB / 1.402 GB, free: 18.15 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.0001219/1, allocations: 139.2 kB / 1.403 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1, allocations: 86.05 kB / 1.403 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1, allocations: 68.92 kB / 1.403 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1, allocations: 7.828 kB / 1.403 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1, allocations: 3.844 kB / 1.403 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1, allocations: 3.984 kB / 1.403 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/1.001, allocations: 0.6594 MB / 1.403 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.001, allocations: 0 / 1.403 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.001, allocations: 61.8 kB / 1.403 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/1.001, allocations: 102.6 kB / 1.404 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/1.002, allocations: 11.16 kB / 1.404 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/1.004, allocations: 4.007 MB / 1.407 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.004, allocations: 3.984 kB / 1.407 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/1.005, allocations: 0.6781 MB / 1.408 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/1.005, allocations: 219.6 kB / 1.408 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.005, allocations: 3.812 kB / 1.408 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/1.006, allocations: 42.78 kB / 1.408 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/1.006, allocations: 22.62 kB / 1.408 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/1.006, allocations: 7.469 kB / 1.408 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006571/1.007, allocations: 0.5552 MB / 1.409 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.007, allocations: 0 / 1.409 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009379/1.008, allocations: 289.2 kB / 1.409 GB, free: 13.04 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.0002408/1.008, allocations: 161.3 kB / 1.409 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.009, allocations: 0.834 MB / 1.41 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.009, allocations: 4.062 kB / 1.41 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/1.01, allocations: 493.6 kB / 1.411 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/1.01, allocations: 158.4 kB / 1.411 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/1.012, allocations: 1.38 MB / 1.412 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/1.013, allocations: 1.002 MB / 1.413 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004158/1.013, allocations: 144.5 kB / 1.413 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.013, allocations: 45.06 kB / 1.413 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.013, allocations: 0 / 1.413 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.0148/1.028, allocations: 8.605 MB / 1.422 GB, free: 2.684 MB / 0.8386 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