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.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 180.7 kB / 326.5 MB, free: 2.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.698/1.698, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009096/0.0009095, allocations: 85.52 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 9.188 kB / 0.7962 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.248, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.337/5.585, allocations: 2.197 GB / 3.097 GB, free: 23.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/5.586, allocations: 87.95 kB / 3.097 GB, free: 23.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6971/6.283, allocations: 76.77 MB / 3.172 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.494e-06/6.283, allocations: 0 / 3.172 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000127/6.283, allocations: 27.38 kB / 3.172 GB, free: 310.9 MB / 0.8855 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.00353/6.287, allocations: 1.465 MB / 3.173 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/6.287, allocations: 11.83 kB / 3.173 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008056/6.295, allocations: 1.338 MB / 3.174 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/6.297, allocations: 0.8861 MB / 3.175 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/6.297, allocations: 86.53 kB / 3.175 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/6.297, allocations: 112.6 kB / 3.175 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/6.302, allocations: 2.145 MB / 3.178 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/6.302, allocations: 7.938 kB / 3.178 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/6.302, allocations: 48 kB / 3.178 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/6.302, allocations: 31.98 kB / 3.178 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006739/6.309, allocations: 3.096 MB / 3.181 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/6.317, allocations: 4.55 MB / 3.185 GB, free: 298.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/6.324, allocations: 3.046 MB / 3.188 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/6.324, allocations: 0.6096 MB / 3.189 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003102/6.327, allocations: 1.445 MB / 3.19 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=121): time 3.537e-06/6.327, allocations: 4 kB / 3.19 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121): time 0.009884/6.337, allocations: 3.785 MB / 3.194 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/6.337, allocations: 248.3 kB / 3.194 GB, free: 289.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/6.338, allocations: 0.711 MB / 3.195 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/6.339, allocations: 49.7 kB / 3.195 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/6.339, allocations: 468.3 kB / 3.195 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/6.339, allocations: 409.2 kB / 3.196 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/6.339, allocations: 20 kB / 3.196 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/6.339, allocations: 341.9 kB / 3.196 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/6.342, allocations: 1.099 MB / 3.197 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/6.345, allocations: 1.238 MB / 3.198 GB, free: 285 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/6.347, allocations: 1.092 MB / 3.199 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/6.347, allocations: 4 kB / 3.199 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006475/6.354, allocations: 2.527 MB / 3.202 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/6.354, allocations: 4.094 kB / 3.202 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/6.354, allocations: 4 kB / 3.202 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/6.355, allocations: 92.72 kB / 3.202 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/6.357, allocations: 455.3 kB / 3.202 GB, free: 280.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/6.359, allocations: 1.545 MB / 3.204 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/6.361, allocations: 318.9 kB / 3.204 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/6.361, allocations: 59.94 kB / 3.204 GB, free: 278.7 MB / 0.8855 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 () * Number of clocked 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.0008184/6.362, allocations: 329.5 kB / 3.204 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/6.362, allocations: 102.7 kB / 3.205 GB, free: 278.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/6.37, allocations: 2.979 MB / 3.207 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/6.37, allocations: 12 kB / 3.207 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/6.37, allocations: 4 kB / 3.208 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/6.37, allocations: 11.91 kB / 3.208 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/6.379, allocations: 4.808 MB / 3.212 GB, free: 270.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/6.379, allocations: 7.922 kB / 3.212 GB, free: 270.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/6.381, allocations: 459.4 kB / 3.213 GB, free: 270 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/6.382, allocations: 92.77 kB / 3.213 GB, free: 269.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/6.382, allocations: 43.94 kB / 3.213 GB, free: 269.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/6.384, allocations: 1.579 MB / 3.214 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/6.384, allocations: 0 / 3.214 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006639/6.39, allocations: 2.722 MB / 3.217 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/6.391, allocations: 471.4 kB / 3.217 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/6.392, allocations: 24 kB / 3.217 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/6.394, allocations: 283.7 kB / 3.218 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/6.394, allocations: 85.25 kB / 3.218 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/6.394, allocations: 67.92 kB / 3.218 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007237/6.395, allocations: 0.5771 MB / 3.218 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/6.395, allocations: 4 kB / 3.218 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001589/6.396, allocations: 0.4986 MB / 3.219 GB, free: 263.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001967/6.398, allocations: 1.056 MB / 3.22 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00632/6.404, allocations: 2.608 MB / 3.223 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/6.405, allocations: 3.938 kB / 3.223 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003148/6.408, allocations: 1.439 MB / 3.224 GB, free: 258.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/6.409, allocations: 279.1 kB / 3.224 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/6.417, allocations: 3.567 MB / 3.228 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/6.417, allocations: 1.168 MB / 3.229 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002101/6.419, allocations: 472.3 kB / 3.229 GB, free: 252.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/6.42, allocations: 155.3 kB / 3.229 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/6.42, allocations: 0 / 3.229 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.03577/6.456, allocations: 27.59 MB / 3.256 GB, free: 225.3 MB / 0.8855 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