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.001044/0.001044, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009916/0.0009916, allocations: 161 kB / 23.82 MB, free: 0.75 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.9424/0.9424, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.903/1.903, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.536e-05, allocations: 5.578 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005706/0.005721, allocations: 6.085 MB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.1495, allocations: 147.5 MB / 0.9615 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.1507, allocations: 31.75 kB / 0.9615 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.1514, allocations: 241.7 kB / 0.9617 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.1534, allocations: 0.7336 MB / 0.9625 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1554, allocations: 1.029 MB / 0.9635 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.1573, allocations: 2.169 MB / 0.9656 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/0.1582, allocations: 0.5604 MB / 0.9661 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1596, allocations: 1.15 MB / 0.9673 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.1604, allocations: 0.6428 MB / 0.9679 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.1606, allocations: 204 kB / 0.9681 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1617, allocations: 0.6867 MB / 0.9687 GB, free: 140 kB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.1621, allocations: 0.5023 MB / 0.9692 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.1626, allocations: 0.604 MB / 0.9698 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1644, allocations: 1.857 MB / 0.9716 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1644, allocations: 0 / 0.9716 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1644, allocations: 0 / 0.9716 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.1644, allocations: 0 / 0.9716 GB, free: 13.16 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.002286/0.1667, allocations: 2.03 MB / 0.9736 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1668, allocations: 16.02 kB / 0.9736 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.1708, allocations: 1.255 MB / 0.9749 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.172, allocations: 1.006 MB / 0.9758 GB, free: 8.773 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.1721, allocations: 106.8 kB / 0.976 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.1722, allocations: 140 kB / 0.9761 GB, free: 8.531 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.1745, allocations: 1.837 MB / 0.9779 GB, free: 6.559 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1746, allocations: 0 / 0.9779 GB, free: 6.559 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1747, allocations: 55.98 kB / 0.9779 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1747, allocations: 32 kB / 0.978 GB, free: 6.473 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.1765, allocations: 1.385 MB / 0.9793 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.1815, allocations: 3.936 MB / 0.9832 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.1835, allocations: 1.197 MB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.1842, allocations: 407.4 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.1844, allocations: 85.23 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.1855, allocations: 0.8587 MB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 2.725e-06/0.1855, allocations: 0 / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=143): time 0.003142/0.1886, allocations: 1.563 MB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1887, allocations: 205.2 kB / 0.9874 GB, free: 12.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.1893, allocations: 0.6868 MB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.1894, allocations: 61.7 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.1898, allocations: 0.5749 MB / 0.9886 GB, free: 11.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.1901, allocations: 491.8 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.1905, allocations: 293.1 kB / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.1907, allocations: 0.5898 MB / 0.99 GB, free: 9.938 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.1913, allocations: 339.8 kB / 0.9903 GB, free: 9.605 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.1922, allocations: 0.6494 MB / 0.9909 GB, free: 8.891 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.1935, allocations: 0.786 MB / 0.9917 GB, free: 8.082 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1935, allocations: 0 / 0.9917 GB, free: 8.082 MB / 0.948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002051/0.1955, allocations: 1.199 MB / 0.9929 GB, free: 6.871 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1955, allocations: 16.06 kB / 0.9929 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1956, allocations: 0 / 0.9929 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.1961, allocations: 135.5 kB / 0.993 GB, free: 6.719 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.1972, allocations: 391.4 kB / 0.9934 GB, free: 6.336 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.1987, allocations: 1.906 MB / 0.9952 GB, free: 4.305 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.1995, allocations: 206 kB / 0.9954 GB, free: 4.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.1996, allocations: 63.92 kB / 0.9955 GB, free: 4.043 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.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.000362/0.2, allocations: 252.3 kB / 0.9957 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.2002, allocations: 163.3 kB / 0.9959 GB, free: 3.625 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.2026, allocations: 1.528 MB / 0.9974 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2026, allocations: 16 kB / 0.9974 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2026, allocations: 3.938 kB / 0.9974 GB, free: 2.062 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2027, allocations: 7.969 kB / 0.9974 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.2068, allocations: 2.931 MB / 1 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2068, allocations: 0 / 1 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009184/0.2078, allocations: 351.4 kB / 1.001 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003637/0.2081, allocations: 127.5 kB / 1.001 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/0.2082, allocations: 55.88 kB / 1.001 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.2094, allocations: 1.917 MB / 1.003 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2094, allocations: 0 / 1.003 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.2114, allocations: 1.436 MB / 1.004 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.2119, allocations: 374.7 kB / 1.004 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.212, allocations: 43.94 kB / 1.004 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/0.2127, allocations: 147.8 kB / 1.005 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.2128, allocations: 113 kB / 1.005 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.2129, allocations: 63.94 kB / 1.005 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003838/0.2133, allocations: 459 kB / 1.005 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2133, allocations: 0 / 1.005 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00102/0.2143, allocations: 0.5417 MB / 1.006 GB, free: 9.297 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.00137/0.2157, allocations: 0.6801 MB / 1.006 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.2175, allocations: 1.194 MB / 1.008 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2175, allocations: 256 / 1.008 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.2185, allocations: 0.7843 MB / 1.008 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.2193, allocations: 418 kB / 1.009 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2226, allocations: 2.317 MB / 1.011 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.2228, allocations: 274.4 kB / 1.011 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008622/0.2237, allocations: 429.3 kB / 1.012 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.2241, allocations: 176.4 kB / 1.012 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/0.2241, allocations: 0 / 1.012 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of Templates: time 0.02962/0.2537, allocations: 25.02 MB / 1.036 GB, free: 10.4 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.5971712549217045]