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.001624/0.001624, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001995/0.001995, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9917/0.9917, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.902/1.902, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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 2.014e-06/2.014e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.412e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006213/0.006237, allocations: 6.092 MB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1328/0.139, allocations: 147.5 MB / 0.9615 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.1402, allocations: 31.75 kB / 0.9615 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.1412, allocations: 245.7 kB / 0.9617 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.1434, allocations: 0.7491 MB / 0.9625 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.1453, allocations: 1.021 MB / 0.9635 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.1474, allocations: 2.169 MB / 0.9656 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.1483, allocations: 0.5565 MB / 0.9661 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.1499, allocations: 1.189 MB / 0.9673 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.1508, allocations: 0.6154 MB / 0.9679 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.1511, allocations: 188 kB / 0.9681 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1523, allocations: 0.6711 MB / 0.9687 GB, free: 180 kB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.1526, allocations: 494.5 kB / 0.9692 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.1531, allocations: 0.5767 MB / 0.9698 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.1553, allocations: 1.818 MB / 0.9715 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1553, allocations: 0 / 0.9715 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1553, allocations: 0 / 0.9715 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.35e-05/0.1554, allocations: 0 / 0.9715 GB, free: 13.29 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.002311/0.1577, allocations: 2.015 MB / 0.9735 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1577, allocations: 12.03 kB / 0.9735 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.1619, allocations: 1.263 MB / 0.9748 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1632, allocations: 0.9954 MB / 0.9757 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.1633, allocations: 106.8 kB / 0.9758 GB, free: 8.816 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.1634, allocations: 144 kB / 0.976 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.1659, allocations: 1.756 MB / 0.9777 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1659, allocations: 7.984 kB / 0.9777 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.166, allocations: 55.98 kB / 0.9777 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.166, allocations: 32 kB / 0.9778 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.1681, allocations: 1.377 MB / 0.9791 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.1735, allocations: 3.886 MB / 0.9829 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.1756, allocations: 1.195 MB / 0.9841 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.1763, allocations: 420.6 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.1766, allocations: 89.23 kB / 0.9846 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.1779, allocations: 0.843 MB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.368e-06/0.1779, allocations: 0 / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=143): time 0.003094/0.181, allocations: 1.555 MB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.1811, allocations: 205.2 kB / 0.9871 GB, free: 12.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.1817, allocations: 0.679 MB / 0.9878 GB, free: 12.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.1818, allocations: 57.7 kB / 0.9878 GB, free: 12.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.1822, allocations: 0.5788 MB / 0.9884 GB, free: 11.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.1825, allocations: 483.9 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.1828, allocations: 289.1 kB / 0.9891 GB, free: 10.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.183, allocations: 0.5898 MB / 0.9897 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.1836, allocations: 339.9 kB / 0.99 GB, free: 9.934 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.1844, allocations: 0.6454 MB / 0.9907 GB, free: 9.223 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.1856, allocations: 0.7821 MB / 0.9914 GB, free: 8.418 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1856, allocations: 0 / 0.9914 GB, free: 8.418 MB / 0.948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002407/0.1881, allocations: 1.211 MB / 0.9926 GB, free: 7.195 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.1881, allocations: 10.59 kB / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1881, allocations: 0 / 0.9926 GB, free: 7.188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.1886, allocations: 127.6 kB / 0.9927 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.1898, allocations: 395.4 kB / 0.9931 GB, free: 6.672 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.1914, allocations: 1.902 MB / 0.995 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.1923, allocations: 203.1 kB / 0.9952 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.1924, allocations: 71.92 kB / 0.9952 GB, free: 4.375 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.0005016/0.1929, allocations: 248.4 kB / 0.9955 GB, free: 4.121 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.1932, allocations: 163.3 kB / 0.9956 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.1957, allocations: 1.524 MB / 0.9971 GB, free: 2.422 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.1957, allocations: 16 kB / 0.9971 GB, free: 2.406 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1957, allocations: 3.938 kB / 0.9971 GB, free: 2.402 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.1957, allocations: 7.969 kB / 0.9971 GB, free: 2.395 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.2002, allocations: 2.9 MB / 1 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2002, allocations: 4 kB / 1 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.2012, allocations: 355.4 kB / 1 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/0.2015, allocations: 115.6 kB / 1 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.2016, allocations: 47.94 kB / 1 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.2029, allocations: 1.933 MB / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2029, allocations: 3.984 kB / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.2051, allocations: 1.428 MB / 1.004 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.2056, allocations: 370.7 kB / 1.004 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.2058, allocations: 39.94 kB / 1.004 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.2064, allocations: 139.8 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.2066, allocations: 105.1 kB / 1.004 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.2067, allocations: 63.94 kB / 1.004 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004335/0.2071, allocations: 454.9 kB / 1.005 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2071, allocations: 3.938 kB / 1.005 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001128/0.2083, allocations: 0.53 MB / 1.005 GB, free: 9.707 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.001467/0.2097, allocations: 0.669 MB / 1.006 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.2121, allocations: 1.194 MB / 1.007 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2121, allocations: 4.25 kB / 1.007 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2131, allocations: 0.7726 MB / 1.008 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2142, allocations: 424.1 kB / 1.008 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.218, allocations: 2.304 MB / 1.011 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.2182, allocations: 282.4 kB / 1.011 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001075/0.2193, allocations: 421.3 kB / 1.011 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.2198, allocations: 168.4 kB / 1.011 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of SimCode: time 2.304e-06/0.2198, allocations: 0 / 1.011 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of Templates: time 0.03258/0.2524, allocations: 26.04 MB / 1.037 GB, free: 9.824 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.4847441161982715]