Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.563/1.563, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.001158/0.001158, allocations: 166.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.001013/0.001013, allocations: 88.53 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.936e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.892/7.136, allocations: 2.196 GB / 3.088 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/7.136, allocations: 87.53 kB / 3.088 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1561/7.292, allocations: 76.47 MB / 3.163 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.076e-06/7.293, allocations: 0 / 3.163 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.295e-05/7.293, allocations: 24 kB / 3.163 GB, free: 95.5 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002533/7.295, allocations: 1.317 MB / 3.164 GB, free: 94.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/7.295, allocations: 12.03 kB / 3.164 GB, free: 94.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/7.303, allocations: 1.344 MB / 3.166 GB, free: 92.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/7.305, allocations: 0.8794 MB / 3.166 GB, free: 91.85 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/7.305, allocations: 90.34 kB / 3.167 GB, free: 91.76 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/7.305, allocations: 112 kB / 3.167 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/7.308, allocations: 1.65 MB / 3.168 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/7.308, allocations: 0 / 3.168 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/7.308, allocations: 52 kB / 3.168 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/7.308, allocations: 31.95 kB / 3.168 GB, free: 89.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/7.311, allocations: 2.117 MB / 3.17 GB, free: 87.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/7.318, allocations: 4.571 MB / 3.175 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/7.321, allocations: 2.004 MB / 3.177 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009725/7.322, allocations: 0.7741 MB / 3.178 GB, free: 80.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/7.322, allocations: 0.6101 MB / 3.178 GB, free: 79.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/7.323, allocations: 1.028 MB / 3.179 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 3.437e-06/7.323, allocations: 96 / 3.179 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.003053/7.327, allocations: 1.676 MB / 3.181 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/7.327, allocations: 244.3 kB / 3.181 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009884/7.328, allocations: 0.7071 MB / 3.182 GB, free: 75.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/7.328, allocations: 49.64 kB / 3.182 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/7.328, allocations: 464.7 kB / 3.182 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/7.329, allocations: 410.1 kB / 3.183 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/7.329, allocations: 20 kB / 3.183 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/7.329, allocations: 345.9 kB / 3.183 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/7.33, allocations: 0.6781 MB / 3.184 GB, free: 73.83 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/7.331, allocations: 0.8282 MB / 3.184 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/7.332, allocations: 0.653 MB / 3.185 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/7.332, allocations: 0 / 3.185 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002893/7.335, allocations: 1.7 MB / 3.187 GB, free: 70.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/7.335, allocations: 5.719 kB / 3.187 GB, free: 70.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/7.335, allocations: 4 kB / 3.187 GB, free: 70.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/7.335, allocations: 80.88 kB / 3.187 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/7.337, allocations: 463.3 kB / 3.187 GB, free: 70.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/7.339, allocations: 1.541 MB / 3.189 GB, free: 68.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/7.341, allocations: 318.8 kB / 3.189 GB, free: 68.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/7.341, allocations: 55.94 kB / 3.189 GB, free: 68.01 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 (126): * Single equations (assignments): 125 * 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.0002794/7.341, allocations: 164.8 kB / 3.189 GB, free: 67.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/7.342, allocations: 106.8 kB / 3.189 GB, free: 67.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/7.345, allocations: 2.133 MB / 3.191 GB, free: 65.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/7.345, allocations: 12 kB / 3.191 GB, free: 65.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/7.345, allocations: 0 / 3.191 GB, free: 65.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/7.345, allocations: 11.92 kB / 3.191 GB, free: 65.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/7.351, allocations: 3.986 MB / 3.195 GB, free: 61.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/7.351, allocations: 0 / 3.195 GB, free: 61.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/7.353, allocations: 459.4 kB / 3.196 GB, free: 61.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/7.353, allocations: 88.77 kB / 3.196 GB, free: 60.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/7.354, allocations: 47.95 kB / 3.196 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/7.355, allocations: 1.563 MB / 3.197 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/7.355, allocations: 0 / 3.197 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/7.358, allocations: 1.879 MB / 3.199 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/7.359, allocations: 475 kB / 3.2 GB, free: 56.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/7.359, allocations: 20 kB / 3.2 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/7.361, allocations: 283.7 kB / 3.2 GB, free: 56.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/7.361, allocations: 93.12 kB / 3.2 GB, free: 56.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/7.361, allocations: 59.94 kB / 3.2 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006641/7.362, allocations: 0.5694 MB / 3.201 GB, free: 55.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.362, allocations: 0 / 3.201 GB, free: 55.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001407/7.363, allocations: 0.4989 MB / 3.201 GB, free: 55.33 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 (135): * Single equations (assignments): 132 * 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.001652/7.365, allocations: 1.02 MB / 3.202 GB, free: 54.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002594/7.367, allocations: 1.746 MB / 3.204 GB, free: 52.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/7.367, allocations: 4 kB / 3.204 GB, free: 52.63 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/7.369, allocations: 1.037 MB / 3.205 GB, free: 51.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/7.37, allocations: 275.7 kB / 3.205 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/7.374, allocations: 2.181 MB / 3.207 GB, free: 49.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/7.375, allocations: 1.167 MB / 3.208 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00177/7.377, allocations: 464.4 kB / 3.209 GB, free: 47.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/7.377, allocations: 151.3 kB / 3.209 GB, free: 47.31 MB / 0.8698 GB Notification: Performance of SimCode: time 2.014e-06/7.377, allocations: 0 / 3.209 GB, free: 47.31 MB / 0.8698 GB Notification: Performance of Templates: time 0.0414/7.419, allocations: 29.24 MB / 3.238 GB, free: 18.11 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches