Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.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_9_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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001082/0.001082, allocations: 180.5 kB / 487.4 MB, free: 5.066 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.273/1.273, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.000835/0.0008351, allocations: 95.86 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.532e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7597/0.9869, allocations: 161.2 MB / 1.363 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.9871, allocations: 78.95 kB / 1.363 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08218/1.069, allocations: 27.83 MB / 1.391 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.069, allocations: 4 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001105/1.07, allocations: 19.34 kB / 1.391 GB, free: 27.16 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001512/1.071, allocations: 0.8275 MB / 1.391 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.071, allocations: 7.688 kB / 1.391 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/1.071, allocations: 77.47 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.074, allocations: 1.224 MB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.074, allocations: 11.66 kB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/1.074, allocations: 26.73 kB / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002874/1.074, allocations: 199.1 kB / 1.393 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/1.074, allocations: 322.2 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.074, allocations: 7.875 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/1.074, allocations: 4 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.074, allocations: 11.8 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/1.077, allocations: 2.016 MB / 1.395 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/1.078, allocations: 373.2 kB / 1.396 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/1.078, allocations: 127 kB / 1.396 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/1.078, allocations: 4 kB / 1.396 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.078, allocations: 40.91 kB / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/1.078, allocations: 0 / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005286/1.078, allocations: 321.6 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/1.078, allocations: 55.25 kB / 1.396 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/1.079, allocations: 0.8607 MB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/1.079, allocations: 25.7 kB / 1.397 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.08, allocations: 296.6 kB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/1.08, allocations: 68.2 kB / 1.397 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/1.08, allocations: 0 / 1.397 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.08, allocations: 378.5 kB / 1.398 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/1.08, allocations: 210.8 kB / 1.398 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.08, allocations: 492.2 kB / 1.398 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/1.081, allocations: 281.7 kB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.081, allocations: 3.938 kB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008364/1.081, allocations: 0.7152 MB / 1.399 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.082, allocations: 7.688 kB / 1.399 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.082, allocations: 15.44 kB / 1.399 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.082, allocations: 55.62 kB / 1.399 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/1.082, allocations: 139 kB / 1.4 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009618/1.083, allocations: 1.427 MB / 1.401 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/1.084, allocations: 187.2 kB / 1.401 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/1.084, allocations: 25.62 kB / 1.401 GB, free: 21.15 MB / 0.8386 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.0001146/1.084, allocations: 128.1 kB / 1.401 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.084, allocations: 61.7 kB / 1.401 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.084, allocations: 72.45 kB / 1.401 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.084, allocations: 3.656 kB / 1.401 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.084, allocations: 3.984 kB / 1.401 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.084, allocations: 0 / 1.401 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/1.085, allocations: 0.6174 MB / 1.402 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.085, allocations: 0 / 1.402 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/1.085, allocations: 50.36 kB / 1.402 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/1.085, allocations: 38.98 kB / 1.402 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/1.085, allocations: 7.969 kB / 1.402 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008445/1.086, allocations: 1.419 MB / 1.404 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.086, allocations: 8.047 kB / 1.404 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/1.087, allocations: 0.5295 MB / 1.404 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/1.087, allocations: 350.9 kB / 1.404 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/1.087, allocations: 10.05 kB / 1.404 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/1.088, allocations: 82.31 kB / 1.404 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/1.088, allocations: 19.64 kB / 1.404 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.088, allocations: 6.781 kB / 1.404 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006587/1.088, allocations: 0.6448 MB / 1.405 GB, free: 18.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.088, allocations: 0 / 1.405 GB, free: 18.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006049/1.089, allocations: 192.1 kB / 1.405 GB, free: 18.5 MB / 0.8386 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.0002401/1.089, allocations: 173.1 kB / 1.405 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006396/1.09, allocations: 0.5244 MB / 1.406 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.09, allocations: 7.5 kB / 1.406 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.09, allocations: 230.5 kB / 1.406 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/1.091, allocations: 149.6 kB / 1.406 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.092, allocations: 1.228 MB / 1.408 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/1.093, allocations: 1.015 MB / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003884/1.093, allocations: 189.8 kB / 1.409 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.093, allocations: 38.38 kB / 1.409 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.093, allocations: 0 / 1.409 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.01172/1.105, allocations: 7.205 MB / 1.416 GB, free: 9.895 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches