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 2.405/2.405, allocations: 390.3 MB / 405.3 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.001193/0.001192, allocations: 175.2 kB / 498.1 MB, free: 5.598 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.727/1.727, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009671/0.0009671, allocations: 104.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004101, allocations: 6.781 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.526, allocations: 161.9 MB / 1.381 GB, free: 140 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5264, allocations: 79.97 kB / 1.381 GB, free: 60 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09226/0.6186, allocations: 28.46 MB / 1.409 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6187, allocations: 4 kB / 1.409 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.6187, allocations: 19.98 kB / 1.409 GB, free: 3.441 MB / 0.9011 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.002796/0.6216, allocations: 1.176 MB / 1.41 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6216, allocations: 8.031 kB / 1.41 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.6218, allocations: 87.05 kB / 1.41 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.6244, allocations: 1.265 MB / 1.411 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.6245, allocations: 28.52 kB / 1.411 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.6246, allocations: 47.89 kB / 1.411 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.6252, allocations: 366.8 kB / 1.412 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6252, allocations: 3.938 kB / 1.412 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.6252, allocations: 12 kB / 1.412 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6252, allocations: 8 kB / 1.412 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.6256, allocations: 233.5 kB / 1.412 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.6286, allocations: 2.086 MB / 1.414 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.6296, allocations: 398.4 kB / 1.414 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.6297, allocations: 4 kB / 1.414 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6297, allocations: 42.52 kB / 1.414 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 2.495e-06/0.6297, allocations: 0 / 1.414 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001005/0.6307, allocations: 0.5356 MB / 1.415 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.6308, allocations: 55.41 kB / 1.415 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.632, allocations: 0.9133 MB / 1.416 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.6321, allocations: 37.7 kB / 1.416 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.6324, allocations: 300.5 kB / 1.416 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.6325, allocations: 66.95 kB / 1.416 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.6325, allocations: 12 kB / 1.416 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6327, allocations: 378.8 kB / 1.417 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.633, allocations: 232.9 kB / 1.417 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.6336, allocations: 0.5014 MB / 1.417 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.634, allocations: 301.9 kB / 1.418 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.6341, allocations: 4 kB / 1.418 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001226/0.6353, allocations: 0.8021 MB / 1.418 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6353, allocations: 8 kB / 1.418 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6353, allocations: 8 kB / 1.419 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.6356, allocations: 56.83 kB / 1.419 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6361, allocations: 143.9 kB / 1.419 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.6375, allocations: 1.444 MB / 1.42 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6386, allocations: 207.2 kB / 1.42 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.6387, allocations: 24 kB / 1.42 GB, free: 7.117 MB / 0.9167 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 () * Number of clocked 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.0005552/0.6392, allocations: 345.2 kB / 1.421 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6394, allocations: 59.25 kB / 1.421 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.6395, allocations: 66 kB / 1.421 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6395, allocations: 8 kB / 1.421 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6395, allocations: 0 / 1.421 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6395, allocations: 3.938 kB / 1.421 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.6404, allocations: 0.6804 MB / 1.421 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6404, allocations: 3.938 kB / 1.421 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.6406, allocations: 51.95 kB / 1.422 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.6408, allocations: 40.83 kB / 1.422 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.6408, allocations: 11.94 kB / 1.422 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.6419, allocations: 1.428 MB / 1.423 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6419, allocations: 4.062 kB / 1.423 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.6428, allocations: 0.5747 MB / 1.424 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.6433, allocations: 348.3 kB / 1.424 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.6434, allocations: 8 kB / 1.424 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.644, allocations: 95.78 kB / 1.424 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.644, allocations: 7.984 kB / 1.424 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.644, allocations: 11.98 kB / 1.424 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000932/0.645, allocations: 0.6902 MB / 1.425 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.645, allocations: 0 / 1.425 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007746/0.6458, allocations: 191.8 kB / 1.425 GB, free: 2.254 MB / 0.9167 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 () * Number of clocked 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.0003179/0.6461, allocations: 172.1 kB / 1.425 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000973/0.6471, allocations: 0.5686 MB / 1.426 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6471, allocations: 0 / 1.426 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.6474, allocations: 254.6 kB / 1.426 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.6482, allocations: 162.8 kB / 1.426 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5789/1.227, allocations: 1.776 MB / 1.428 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/1.228, allocations: 1.019 MB / 1.429 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006227/1.228, allocations: 186 kB / 1.429 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.229, allocations: 36.75 kB / 1.429 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.163e-06/1.229, allocations: 0 / 1.429 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.02049/1.249, allocations: 9.043 MB / 1.438 GB, free: 187 MB / 0.9167 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