Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.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_9_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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.986/1.986, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009262/0.0009261, allocations: 176.6 kB / 487.4 MB, free: 5.035 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.272/1.272, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0008158/0.0008157, allocations: 99 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.302e-05/1.304e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7661/0.9826, allocations: 161.2 MB / 1.363 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.9828, allocations: 77.75 kB / 1.363 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07957/1.062, allocations: 27.81 MB / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/1.062, allocations: 3.938 kB / 1.391 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001342/1.063, allocations: 19.62 kB / 1.391 GB, free: 26.99 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.001893/1.065, allocations: 0.8297 MB / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.065, allocations: 11.53 kB / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/1.065, allocations: 73.97 kB / 1.391 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/1.067, allocations: 1.224 MB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.067, allocations: 7.688 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/1.067, allocations: 31.03 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003255/1.068, allocations: 203.6 kB / 1.393 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/1.068, allocations: 331 kB / 1.393 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.068, allocations: 0 / 1.393 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/1.068, allocations: 0 / 1.393 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.068, allocations: 7.562 kB / 1.393 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/1.071, allocations: 2.016 MB / 1.395 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/1.071, allocations: 383 kB / 1.396 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/1.072, allocations: 121.7 kB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.072, allocations: 0 / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/1.072, allocations: 34.41 kB / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/1.072, allocations: 0 / 1.396 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005023/1.072, allocations: 324.9 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/1.072, allocations: 55.41 kB / 1.396 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/1.073, allocations: 0.864 MB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/1.073, allocations: 25.7 kB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/1.073, allocations: 295.4 kB / 1.397 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/1.073, allocations: 65.33 kB / 1.397 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.073, allocations: 0 / 1.397 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.073, allocations: 382.7 kB / 1.398 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/1.074, allocations: 216.2 kB / 1.398 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.074, allocations: 480.4 kB / 1.398 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/1.074, allocations: 284.7 kB / 1.399 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.074, allocations: 4 kB / 1.399 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008044/1.075, allocations: 0.7164 MB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.075, allocations: 11.64 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.075, allocations: 11.5 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/1.075, allocations: 58.61 kB / 1.399 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/1.076, allocations: 133.7 kB / 1.4 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009962/1.077, allocations: 1.424 MB / 1.401 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/1.078, allocations: 186.5 kB / 1.401 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.078, allocations: 27.16 kB / 1.401 GB, free: 20.98 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.0001155/1.078, allocations: 136.9 kB / 1.401 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/1.078, allocations: 66.14 kB / 1.401 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.078, allocations: 63.45 kB / 1.401 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.078, allocations: 3.875 kB / 1.401 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.078, allocations: 0 / 1.401 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.078, allocations: 0 / 1.401 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/1.079, allocations: 0.6169 MB / 1.402 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.079, allocations: 0 / 1.402 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.079, allocations: 54.64 kB / 1.402 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/1.079, allocations: 39.39 kB / 1.402 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.079, allocations: 14.98 kB / 1.402 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/1.08, allocations: 1.412 MB / 1.403 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.08, allocations: 0 / 1.403 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/1.08, allocations: 0.5273 MB / 1.404 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/1.081, allocations: 350.5 kB / 1.404 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/1.081, allocations: 15.39 kB / 1.404 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/1.081, allocations: 82.44 kB / 1.404 GB, free: 18.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/1.081, allocations: 7.828 kB / 1.404 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/1.081, allocations: 7.094 kB / 1.404 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006256/1.082, allocations: 0.6468 MB / 1.405 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.082, allocations: 0 / 1.405 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005872/1.083, allocations: 193.1 kB / 1.405 GB, free: 18.33 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.0002265/1.083, allocations: 188.4 kB / 1.405 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006182/1.083, allocations: 0.5219 MB / 1.406 GB, free: 18.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.083, allocations: 2.25 kB / 1.406 GB, free: 18.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/1.084, allocations: 228.5 kB / 1.406 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/1.084, allocations: 159.8 kB / 1.406 GB, free: 17.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.086, allocations: 1.215 MB / 1.407 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/1.086, allocations: 1.019 MB / 1.408 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003554/1.087, allocations: 190.5 kB / 1.409 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.087, allocations: 37.28 kB / 1.409 GB, free: 16.31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.087, allocations: 0 / 1.409 GB, free: 16.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.01142/1.098, allocations: 7.209 MB / 1.416 GB, free: 9.965 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches