Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001264/0.001264, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001039/0.001039, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9538/0.9538, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.956/1.956, allocations: 377.9 MB / 0.6247 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.6562 kB / 0.8127 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.739e-05, allocations: 6.25 kB / 0.8127 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006263/0.00629, allocations: 5.965 MB / 0.8186 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1317, allocations: 144.8 MB / 0.9599 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009364/0.1326, allocations: 23.81 kB / 0.96 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.1332, allocations: 241.7 kB / 0.9602 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1347, allocations: 0.753 MB / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1363, allocations: 1.021 MB / 0.9619 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.1377, allocations: 2.165 MB / 0.964 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.1383, allocations: 0.5643 MB / 0.9646 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1395, allocations: 1.185 MB / 0.9658 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.14, allocations: 0.6115 MB / 0.9664 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.1402, allocations: 188 kB / 0.9665 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.1409, allocations: 0.6828 MB / 0.9672 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.1412, allocations: 490.5 kB / 0.9677 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.1416, allocations: 0.5728 MB / 0.9682 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.143, allocations: 1.818 MB / 0.97 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.143, allocations: 0 / 0.97 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.122e-06/0.143, allocations: 0 / 0.97 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.143, allocations: 0 / 0.97 GB, free: 15.84 MB / 0.9323 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.002068/0.1451, allocations: 2.034 MB / 0.972 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1451, allocations: 8.031 kB / 0.972 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.1491, allocations: 1.263 MB / 0.9732 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.1501, allocations: 0.9719 MB / 0.9742 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.1502, allocations: 106.8 kB / 0.9743 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.1504, allocations: 140 kB / 0.9744 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.1522, allocations: 1.631 MB / 0.976 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1523, allocations: 0 / 0.976 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.1524, allocations: 63.98 kB / 0.9761 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1524, allocations: 32 kB / 0.9761 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1536, allocations: 1.134 MB / 0.9772 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.158, allocations: 3.683 MB / 0.9808 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.1595, allocations: 1.071 MB / 0.9818 GB, free: 3.445 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.16, allocations: 344.9 kB / 0.9822 GB, free: 3.105 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1602, allocations: 93.17 kB / 0.9823 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.1609, allocations: 0.7765 MB / 0.983 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=143): time 2.635e-06/0.1609, allocations: 0 / 0.983 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of matching and sorting (n=143): time 0.002466/0.1634, allocations: 1.356 MB / 0.9843 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.1635, allocations: 205.2 kB / 0.9845 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1639, allocations: 0.6514 MB / 0.9852 GB, free: 15.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.164, allocations: 61.64 kB / 0.9852 GB, free: 15.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.1644, allocations: 0.5786 MB / 0.9858 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.1647, allocations: 495.8 kB / 0.9863 GB, free: 14.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.1651, allocations: 297 kB / 0.9866 GB, free: 14.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1653, allocations: 0.6051 MB / 0.9872 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.1657, allocations: 259.8 kB / 0.9874 GB, free: 13.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.1662, allocations: 0.5674 MB / 0.988 GB, free: 12.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.1671, allocations: 0.6726 MB / 0.9886 GB, free: 12.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1671, allocations: 64 / 0.9886 GB, free: 12.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001598/0.1687, allocations: 1.062 MB / 0.9896 GB, free: 11.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1687, allocations: 4 kB / 0.9897 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1687, allocations: 4 kB / 0.9897 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.1691, allocations: 127.5 kB / 0.9898 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.1702, allocations: 395.4 kB / 0.9902 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1713, allocations: 1.875 MB / 0.992 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.172, allocations: 201.6 kB / 0.9922 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.1721, allocations: 64.11 kB / 0.9922 GB, free: 8.426 MB / 0.948 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003148/0.1724, allocations: 240.3 kB / 0.9925 GB, free: 8.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.1727, allocations: 167.2 kB / 0.9926 GB, free: 8.016 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.1748, allocations: 1.383 MB / 0.994 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.1748, allocations: 16 kB / 0.994 GB, free: 6.598 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1748, allocations: 0 / 0.994 GB, free: 6.598 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.1748, allocations: 7.969 kB / 0.994 GB, free: 6.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.1779, allocations: 2.599 MB / 0.9965 GB, free: 3.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.178, allocations: 3.938 kB / 0.9965 GB, free: 3.926 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.1789, allocations: 347.5 kB / 0.9969 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/0.1793, allocations: 119.6 kB / 0.997 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.573e-05/0.1794, allocations: 51.94 kB / 0.997 GB, free: 3.414 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.1806, allocations: 1.895 MB / 0.9989 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1806, allocations: 0 / 0.9989 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.1825, allocations: 1.299 MB / 1 GB, free: 68 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.1829, allocations: 350.9 kB / 1 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.1831, allocations: 43.75 kB / 1.001 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.1838, allocations: 139.8 kB / 1.001 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1839, allocations: 105.1 kB / 1.001 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.184, allocations: 55.94 kB / 1.001 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002709/0.1843, allocations: 418.8 kB / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1843, allocations: 0 / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009376/0.1852, allocations: 0.5378 MB / 1.002 GB, free: 14.45 MB / 0.9636 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 (158): * Single equations (assignments): 145 * 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.001365/0.1866, allocations: 0.6746 MB / 1.002 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.1879, allocations: 1.046 MB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1879, allocations: 4.062 kB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.1886, allocations: 0.706 MB / 1.004 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.1895, allocations: 397.7 kB / 1.004 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.1922, allocations: 2.246 MB / 1.007 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1925, allocations: 274.5 kB / 1.007 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.1932, allocations: 297.6 kB / 1.007 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/0.1942, allocations: 473.8 kB / 1.008 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.1942, allocations: 0 / 1.008 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.02854/0.2227, allocations: 27.02 MB / 1.034 GB, free: 13.73 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.425348533317447]