Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 249.5 MB / 257 MB, free: 7.051 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.001063/0.001064, allocations: 180.9 kB / 316.3 MB, free: 3.234 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.678/1.678, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008218/0.0008214, allocations: 85.8 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.741e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2671, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.611/6.878, allocations: 2.195 GB / 3.08 GB, free: 170 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/6.878, allocations: 94.69 kB / 3.08 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1611/7.04, allocations: 76.09 MB / 3.155 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/7.04, allocations: 0 / 3.155 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.343e-05/7.04, allocations: 31.92 kB / 3.155 GB, free: 101.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002155/7.042, allocations: 1.292 MB / 3.156 GB, free: 99.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/7.042, allocations: 12.03 kB / 3.156 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007335/7.049, allocations: 1.329 MB / 3.157 GB, free: 98.37 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/7.051, allocations: 0.8246 MB / 3.158 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/7.051, allocations: 40 kB / 3.158 GB, free: 97.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/7.051, allocations: 64 kB / 3.158 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002578/7.054, allocations: 1.89 MB / 3.16 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/7.056, allocations: 1.394 MB / 3.161 GB, free: 94.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/7.056, allocations: 7.922 kB / 3.161 GB, free: 94.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/7.056, allocations: 3.953 kB / 3.161 GB, free: 94.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/7.056, allocations: 28 kB / 3.162 GB, free: 94 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006608/7.062, allocations: 3.926 MB / 3.165 GB, free: 90.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/7.065, allocations: 1.714 MB / 3.167 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/7.065, allocations: 0.6646 MB / 3.168 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/7.066, allocations: 0.6026 MB / 3.168 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/7.067, allocations: 0.9269 MB / 3.169 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=120): time 3.767e-06/7.067, allocations: 0 / 3.169 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120): time 0.004158/7.071, allocations: 1.652 MB / 3.171 GB, free: 84.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/7.071, allocations: 256.6 kB / 3.171 GB, free: 83.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/7.072, allocations: 0.566 MB / 3.172 GB, free: 83.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/7.072, allocations: 25.7 kB / 3.172 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/7.072, allocations: 468.5 kB / 3.172 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/7.073, allocations: 382.2 kB / 3.172 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/7.073, allocations: 0 / 3.172 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001358/7.073, allocations: 398.7 kB / 3.173 GB, free: 82.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/7.074, allocations: 0.5726 MB / 3.173 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/7.075, allocations: 0.7166 MB / 3.174 GB, free: 80.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/7.077, allocations: 0.7712 MB / 3.175 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/7.077, allocations: 0 / 3.175 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003924/7.081, allocations: 1.664 MB / 3.176 GB, free: 78.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/7.081, allocations: 9.562 kB / 3.176 GB, free: 78.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/7.081, allocations: 0 / 3.176 GB, free: 78.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/7.081, allocations: 88.83 kB / 3.177 GB, free: 78.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/7.083, allocations: 455.3 kB / 3.177 GB, free: 77.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/7.085, allocations: 1.477 MB / 3.178 GB, free: 76.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/7.087, allocations: 291 kB / 3.179 GB, free: 75.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/7.087, allocations: 55.94 kB / 3.179 GB, free: 75.87 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002769/7.087, allocations: 124.7 kB / 3.179 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/7.087, allocations: 94.81 kB / 3.179 GB, free: 75.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/7.092, allocations: 2.093 MB / 3.181 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/7.093, allocations: 16 kB / 3.181 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/7.093, allocations: 3.938 kB / 3.181 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/7.093, allocations: 7.969 kB / 3.181 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/7.099, allocations: 3.527 MB / 3.184 GB, free: 69.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/7.099, allocations: 3.938 kB / 3.184 GB, free: 69.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/7.101, allocations: 467.3 kB / 3.185 GB, free: 69.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/7.101, allocations: 84.78 kB / 3.185 GB, free: 69.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/7.101, allocations: 31.94 kB / 3.185 GB, free: 69.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/7.103, allocations: 1.485 MB / 3.186 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/7.103, allocations: 3.984 kB / 3.186 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/7.107, allocations: 1.859 MB / 3.188 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/7.108, allocations: 423.3 kB / 3.189 GB, free: 65.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/7.108, allocations: 3.938 kB / 3.189 GB, free: 65.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/7.11, allocations: 259.7 kB / 3.189 GB, free: 65.17 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/7.11, allocations: 89.14 kB / 3.189 GB, free: 65.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/7.11, allocations: 55.94 kB / 3.189 GB, free: 65.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005279/7.11, allocations: 475.1 kB / 3.19 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.11, allocations: 8 kB / 3.19 GB, free: 64.56 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001366/7.112, allocations: 454.8 kB / 3.19 GB, free: 64.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/7.113, allocations: 1.077 MB / 3.191 GB, free: 63.08 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002167/7.116, allocations: 1.53 MB / 3.193 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/7.116, allocations: 0 / 3.193 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/7.117, allocations: 0.9164 MB / 3.193 GB, free: 60.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/7.118, allocations: 240.1 kB / 3.194 GB, free: 60.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/7.122, allocations: 1.974 MB / 3.196 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/7.122, allocations: 1.151 MB / 3.197 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001636/7.124, allocations: 451.8 kB / 3.197 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/7.124, allocations: 151.3 kB / 3.197 GB, free: 56.61 MB / 0.8698 GB Notification: Performance of SimCode: time 1.031e-06/7.124, allocations: 0 / 3.197 GB, free: 56.61 MB / 0.8698 GB Notification: Performance of Templates: time 0.02991/7.154, allocations: 21.57 MB / 3.218 GB, free: 35.11 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches