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.00101/0.00101, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009526/0.0009526, allocations: 169 kB / 24.27 MB, free: 280 kB / 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.9783/0.9783, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.951/1.951, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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.323e-06/1.323e-06, allocations: 0 / 0.8115 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.896e-05, allocations: 3.375 kB / 0.8115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005549/0.005568, allocations: 6.069 MB / 0.8174 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1249/0.1305, allocations: 147.2 MB / 0.9612 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1317, allocations: 27.81 kB / 0.9612 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.1323, allocations: 241.7 kB / 0.9614 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1339, allocations: 0.7259 MB / 0.9622 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1355, allocations: 1.036 MB / 0.9632 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1369, allocations: 2.161 MB / 0.9653 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/0.1376, allocations: 0.5527 MB / 0.9658 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008973/0.1385, allocations: 1.15 MB / 0.9669 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.1391, allocations: 0.6544 MB / 0.9676 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.1392, allocations: 200 kB / 0.9678 GB, free: 400 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.1401, allocations: 0.6906 MB / 0.9684 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.1404, allocations: 0.4984 MB / 0.9689 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.1409, allocations: 0.5962 MB / 0.9695 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1424, allocations: 1.857 MB / 0.9713 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1424, allocations: 4 kB / 0.9713 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1424, allocations: 0 / 0.9713 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.1424, allocations: 0 / 0.9713 GB, free: 12.73 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002039/0.1445, allocations: 2.026 MB / 0.9733 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1445, allocations: 15.97 kB / 0.9733 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.1489, allocations: 1.259 MB / 0.9746 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.15, allocations: 1.01 MB / 0.9755 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.1501, allocations: 106.8 kB / 0.9756 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.1502, allocations: 148 kB / 0.9758 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.1526, allocations: 1.837 MB / 0.9776 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1526, allocations: 0 / 0.9776 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1528, allocations: 56 kB / 0.9776 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.1528, allocations: 32 kB / 0.9777 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.1547, allocations: 1.389 MB / 0.979 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.1593, allocations: 3.932 MB / 0.9829 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.1614, allocations: 1.188 MB / 0.984 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.1621, allocations: 417.8 kB / 0.9844 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.1623, allocations: 89.27 kB / 0.9845 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.1633, allocations: 0.8548 MB / 0.9853 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=143): time 2.726e-06/0.1633, allocations: 0 / 0.9853 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=143): time 0.002983/0.1663, allocations: 1.559 MB / 0.9869 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.1664, allocations: 205.2 kB / 0.9871 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.167, allocations: 0.6907 MB / 0.9877 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.1671, allocations: 57.7 kB / 0.9878 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.1673, allocations: 0.5788 MB / 0.9884 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.1676, allocations: 487.8 kB / 0.9888 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.168, allocations: 297.1 kB / 0.9891 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1681, allocations: 0.5859 MB / 0.9897 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.1688, allocations: 339.7 kB / 0.99 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.1697, allocations: 0.6494 MB / 0.9906 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1709, allocations: 0.786 MB / 0.9914 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1709, allocations: 0 / 0.9914 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00206/0.173, allocations: 1.199 MB / 0.9926 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.173, allocations: 11.94 kB / 0.9926 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.173, allocations: 0 / 0.9926 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.1735, allocations: 135.6 kB / 0.9927 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.1745, allocations: 391.4 kB / 0.9931 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1758, allocations: 1.91 MB / 0.9949 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.1766, allocations: 201.7 kB / 0.9951 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.1767, allocations: 67.92 kB / 0.9952 GB, free: 3.605 MB / 0.9011 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.0003398/0.177, allocations: 248.3 kB / 0.9954 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.1773, allocations: 167.2 kB / 0.9956 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.1797, allocations: 1.524 MB / 0.9971 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1797, allocations: 16 kB / 0.9971 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1797, allocations: 3.938 kB / 0.9971 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.1797, allocations: 7.969 kB / 0.9971 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/0.1834, allocations: 2.927 MB / 1 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1834, allocations: 0 / 1 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.1844, allocations: 351.4 kB / 1 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.1847, allocations: 127.6 kB / 1 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.1848, allocations: 51.94 kB / 1 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.1859, allocations: 1.925 MB / 1.002 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1859, allocations: 0 / 1.002 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.188, allocations: 1.432 MB / 1.004 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.1885, allocations: 382.6 kB / 1.004 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.1886, allocations: 35.98 kB / 1.004 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.1893, allocations: 147.8 kB / 1.004 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.1895, allocations: 109.1 kB / 1.004 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.1895, allocations: 71.88 kB / 1.004 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000376/0.1899, allocations: 458.9 kB / 1.005 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 0 / 1.005 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009418/0.1909, allocations: 0.5456 MB / 1.005 GB, free: 8.852 MB / 0.9167 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.001321/0.1922, allocations: 0.6797 MB / 1.006 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.1941, allocations: 1.19 MB / 1.007 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1941, allocations: 0 / 1.007 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.1951, allocations: 0.7845 MB / 1.008 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.196, allocations: 418 kB / 1.008 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1991, allocations: 2.313 MB / 1.011 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.1992, allocations: 278.2 kB / 1.011 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009232/0.2002, allocations: 425.3 kB / 1.011 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.2006, allocations: 176.4 kB / 1.012 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.2006, allocations: 0 / 1.012 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of Templates: time 0.3214/0.522, allocations: 25.02 MB / 1.036 GB, free: 227.4 MB / 0.9323 GB " [Timeout remaining time 299] 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.316618704004213]