Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 180.3 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000903/0.0009026, allocations: 89.34 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.73e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6474/0.8477, allocations: 144.6 MB / 1.026 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.848, allocations: 74.91 kB / 1.026 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09042/0.9384, allocations: 27.5 MB / 1.053 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.582e-06/0.9385, allocations: 0 / 1.053 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.678e-05/0.9386, allocations: 12 kB / 1.053 GB, free: 2.855 MB / 0.6667 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.001328/0.9399, allocations: 0.8305 MB / 1.054 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9399, allocations: 12.03 kB / 1.054 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.9402, allocations: 71.16 kB / 1.054 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.9423, allocations: 1.223 MB / 1.055 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.9423, allocations: 15.92 kB / 1.055 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.9424, allocations: 27.78 kB / 1.055 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003492/0.9427, allocations: 212.7 kB / 1.056 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.9432, allocations: 314.8 kB / 1.056 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.9432, allocations: 3.938 kB / 1.056 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.9433, allocations: 4 kB / 1.056 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.9433, allocations: 4 kB / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.946, allocations: 2.017 MB / 1.058 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.9469, allocations: 377.1 kB / 1.058 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.9471, allocations: 128.7 kB / 1.058 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.9471, allocations: 3.906 kB / 1.058 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.9472, allocations: 50.31 kB / 1.058 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.9472, allocations: 0 / 1.058 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006403/0.9478, allocations: 316.9 kB / 1.059 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.9479, allocations: 55.41 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.9489, allocations: 0.8571 MB / 1.06 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.949, allocations: 25.7 kB / 1.06 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.9492, allocations: 296.1 kB / 1.06 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.9493, allocations: 69.75 kB / 1.06 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.9493, allocations: 4 kB / 1.06 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.9495, allocations: 378 kB / 1.06 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.9498, allocations: 212.2 kB / 1.061 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.9503, allocations: 481.4 kB / 1.061 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.9506, allocations: 289.8 kB / 1.061 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.9506, allocations: 4 kB / 1.061 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001108/0.9518, allocations: 0.7173 MB / 1.062 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.9518, allocations: 13.98 kB / 1.062 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.9518, allocations: 12 kB / 1.062 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.9521, allocations: 48.7 kB / 1.062 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.9526, allocations: 142.7 kB / 1.062 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.9541, allocations: 1.414 MB / 1.064 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.9553, allocations: 191.3 kB / 1.064 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.9554, allocations: 27.94 kB / 1.064 GB, free: 9.27 MB / 0.6823 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.0001397/0.9555, allocations: 123.9 kB / 1.064 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.9556, allocations: 63.16 kB / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.9558, allocations: 66.09 kB / 1.064 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9559, allocations: 7.938 kB / 1.064 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9559, allocations: 0 / 1.064 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.9559, allocations: 7.984 kB / 1.064 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.9566, allocations: 0.6182 MB / 1.065 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9566, allocations: 3.984 kB / 1.065 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.9569, allocations: 43.97 kB / 1.065 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.957, allocations: 47.56 kB / 1.065 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.9571, allocations: 8 kB / 1.065 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.9584, allocations: 1.404 MB / 1.066 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.9585, allocations: 3.953 kB / 1.066 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.9594, allocations: 0.5283 MB / 1.067 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.9599, allocations: 349.5 kB / 1.067 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.96, allocations: 11.42 kB / 1.067 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.9606, allocations: 87.7 kB / 1.067 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.9607, allocations: 15.92 kB / 1.067 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.9607, allocations: 4 kB / 1.067 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000891/0.9616, allocations: 0.6509 MB / 1.068 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9616, allocations: 3.938 kB / 1.068 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007462/0.9623, allocations: 187.3 kB / 1.068 GB, free: 5.426 MB / 0.6823 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.0003681/0.9627, allocations: 172.5 kB / 1.068 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009863/0.9637, allocations: 0.518 MB / 1.069 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9637, allocations: 384 / 1.069 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.964, allocations: 234.7 kB / 1.069 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.9647, allocations: 151 kB / 1.069 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.9667, allocations: 1.233 MB / 1.07 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.9674, allocations: 1.017 MB / 1.071 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00045/0.9678, allocations: 180.4 kB / 1.071 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.968, allocations: 43.38 kB / 1.071 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/0.968, allocations: 0 / 1.071 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of Templates: time 0.01294/0.9809, allocations: 7.214 MB / 1.078 GB, free: 11.05 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches