Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.984/0.984, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.063/2.063, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 3.938 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.78e-05, allocations: 9.984 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008609/0.008647, allocations: 6.044 MB / 0.8841 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.1563, allocations: 147.2 MB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.1574, allocations: 23.81 kB / 1.028 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.158, allocations: 241.7 kB / 1.028 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.16, allocations: 0.7337 MB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.1618, allocations: 1.032 MB / 1.03 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.1634, allocations: 2.169 MB / 1.032 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.1641, allocations: 0.5449 MB / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009159/0.165, allocations: 1.154 MB / 1.034 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.1656, allocations: 0.6505 MB / 1.034 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.1657, allocations: 200 kB / 1.034 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.1667, allocations: 0.6906 MB / 1.035 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.1671, allocations: 0.4984 MB / 1.036 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.1675, allocations: 0.6001 MB / 1.036 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.1691, allocations: 1.849 MB / 1.038 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1691, allocations: 0 / 1.038 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1691, allocations: 0 / 1.038 GB, free: 2.398 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.1691, allocations: 4 kB / 1.038 GB, free: 2.395 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002096/0.1712, allocations: 2.022 MB / 1.04 GB, free: 332 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1713, allocations: 8.031 kB / 1.04 GB, free: 324 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.1773, allocations: 1.544 MB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.1785, allocations: 1.025 MB / 1.042 GB, free: 13.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.1786, allocations: 110.8 kB / 1.043 GB, free: 13.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.1788, allocations: 140 kB / 1.043 GB, free: 13.46 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.1815, allocations: 2.001 MB / 1.045 GB, free: 11.33 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.1815, allocations: 0 / 1.045 GB, free: 11.33 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.1817, allocations: 59.94 kB / 1.045 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.1817, allocations: 32 kB / 1.045 GB, free: 11.24 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.1837, allocations: 1.51 MB / 1.046 GB, free: 9.719 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.1891, allocations: 4.257 MB / 1.05 GB, free: 5.391 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.1915, allocations: 1.374 MB / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/0.1923, allocations: 481.1 kB / 1.052 GB, free: 3.555 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.1925, allocations: 89.23 kB / 1.052 GB, free: 3.465 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.1936, allocations: 0.9562 MB / 1.053 GB, free: 2.461 MB / 1.01 GB Notification: Performance of pre-optimization done (n=143): time 2.625e-06/0.1936, allocations: 0 / 1.053 GB, free: 2.461 MB / 1.01 GB Notification: Performance of matching and sorting (n=143): time 0.003334/0.197, allocations: 1.742 MB / 1.055 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.1971, allocations: 205.2 kB / 1.055 GB, free: 476 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.464/0.661, allocations: 0.6816 MB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004769/0.6615, allocations: 58.58 kB / 1.056 GB, free: 219.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.6619, allocations: 0.5782 MB / 1.056 GB, free: 219.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.6622, allocations: 485.8 kB / 1.057 GB, free: 219 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.6626, allocations: 313.5 kB / 1.057 GB, free: 218.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6627, allocations: 0.5883 MB / 1.058 GB, free: 218.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.6635, allocations: 404 kB / 1.058 GB, free: 218.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6643, allocations: 0.7117 MB / 1.059 GB, free: 218.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6657, allocations: 0.8553 MB / 1.06 GB, free: 217.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.6657, allocations: 0 / 1.06 GB, free: 217.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002382/0.6681, allocations: 1.32 MB / 1.061 GB, free: 217.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6681, allocations: 9.594 kB / 1.061 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6681, allocations: 6.062 kB / 1.061 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.6685, allocations: 130.1 kB / 1.061 GB, free: 217.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.6697, allocations: 435.1 kB / 1.061 GB, free: 217.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.6709, allocations: 1.903 MB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.672, allocations: 231.4 kB / 1.064 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.6721, allocations: 79.67 kB / 1.064 GB, free: 215.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.6725, allocations: 237.4 kB / 1.064 GB, free: 215.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.6728, allocations: 168.4 kB / 1.064 GB, free: 215.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.6757, allocations: 1.79 MB / 1.066 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6757, allocations: 17.89 kB / 1.066 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6757, allocations: 0 / 1.066 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6757, allocations: 6.609 kB / 1.066 GB, free: 214.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.6799, allocations: 3.165 MB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6799, allocations: 0.875 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.681, allocations: 390.5 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.6814, allocations: 122.1 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.6815, allocations: 58.92 kB / 1.069 GB, free: 213.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009963/0.6825, allocations: 1.927 MB / 1.071 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6825, allocations: 6.844 kB / 1.071 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.6848, allocations: 1.53 MB / 1.073 GB, free: 211 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.6854, allocations: 400.9 kB / 1.073 GB, free: 210.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.6855, allocations: 35.83 kB / 1.073 GB, free: 210.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.6864, allocations: 171.9 kB / 1.073 GB, free: 210.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6866, allocations: 113.7 kB / 1.074 GB, free: 210.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.6867, allocations: 72.59 kB / 1.074 GB, free: 210.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000401/0.6871, allocations: 455.5 kB / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6871, allocations: 0 / 1.074 GB, free: 210.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00121/0.6883, allocations: 0.542 MB / 1.075 GB, free: 210.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.6896, allocations: 0.6609 MB / 1.075 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.6919, allocations: 1.335 MB / 1.076 GB, free: 209.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6919, allocations: 3.078 kB / 1.076 GB, free: 209.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6929, allocations: 0.8451 MB / 1.077 GB, free: 209.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6939, allocations: 433.7 kB / 1.078 GB, free: 209.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.6976, allocations: 2.368 MB / 1.08 GB, free: 208.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6977, allocations: 271.7 kB / 1.08 GB, free: 208.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001296/0.699, allocations: 0.4905 MB / 1.081 GB, free: 208 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.6996, allocations: 186.5 kB / 1.081 GB, free: 208 MB / 1.01 GB Notification: Performance of SimCode: time 1.512e-06/0.6996, allocations: 4 kB / 1.081 GB, free: 208 MB / 1.01 GB Notification: Performance of Templates: time 0.03954/0.7391, allocations: 26.79 MB / 1.107 GB, free: 204 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.595822614850476]