Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.004421/0.004421, allocations: 80.39 kB / 21.47 MB, free: 3.035 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.001716/0.001716, allocations: 170 kB / 24.87 MB, free: 8.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.9511/0.9511, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.788/1.788, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.793e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008028/0.008046, allocations: 5.949 MB / 0.7941 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.1447, allocations: 144.8 MB / 0.9355 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.1456, allocations: 31.75 kB / 0.9355 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.1462, allocations: 241.7 kB / 0.9357 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.1478, allocations: 0.7413 MB / 0.9364 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1494, allocations: 1.029 MB / 0.9374 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1508, allocations: 2.169 MB / 0.9396 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.1515, allocations: 0.5527 MB / 0.9401 GB, free: 260 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1527, allocations: 1.185 MB / 0.9413 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.1534, allocations: 0.6248 MB / 0.9419 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.1536, allocations: 192 kB / 0.942 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1549, allocations: 0.6634 MB / 0.9427 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.1553, allocations: 498.4 kB / 0.9432 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.1558, allocations: 0.5845 MB / 0.9437 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.1578, allocations: 1.814 MB / 0.9455 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1578, allocations: 3.938 kB / 0.9455 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1578, allocations: 0 / 0.9455 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1578, allocations: 0 / 0.9455 GB, free: 10.69 MB / 0.9011 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.002417/0.1602, allocations: 2.022 MB / 0.9475 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1603, allocations: 12.03 kB / 0.9475 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.1657, allocations: 1.267 MB / 0.9487 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1671, allocations: 0.968 MB / 0.9497 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/0.1672, allocations: 110.8 kB / 0.9498 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.1674, allocations: 144 kB / 0.9499 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.1699, allocations: 1.635 MB / 0.9515 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1699, allocations: 0 / 0.9515 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1701, allocations: 52 kB / 0.9516 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.1701, allocations: 40 kB / 0.9516 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.1718, allocations: 1.126 MB / 0.9527 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.1772, allocations: 3.699 MB / 0.9563 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.1792, allocations: 1.061 MB / 0.9574 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.1798, allocations: 343.8 kB / 0.9577 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.18, allocations: 97.23 kB / 0.9578 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.181, allocations: 0.7803 MB / 0.9585 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=143): time 3.497e-06/0.181, allocations: 0 / 0.9585 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=143): time 0.002996/0.184, allocations: 1.356 MB / 0.9599 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.1841, allocations: 213.2 kB / 0.9601 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.1847, allocations: 0.6513 MB / 0.9607 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.1848, allocations: 57.7 kB / 0.9608 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.1852, allocations: 0.5825 MB / 0.9613 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.1855, allocations: 487.8 kB / 0.9618 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.186, allocations: 297 kB / 0.9621 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.1862, allocations: 0.6091 MB / 0.9627 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.1867, allocations: 259.8 kB / 0.9629 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.1874, allocations: 0.5634 MB / 0.9635 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.1886, allocations: 0.657 MB / 0.9641 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1886, allocations: 4 kB / 0.9641 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002074/0.1907, allocations: 1.062 MB / 0.9652 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1907, allocations: 14.17 kB / 0.9652 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1907, allocations: 0 / 0.9652 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.1913, allocations: 135.5 kB / 0.9653 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.1926, allocations: 391.4 kB / 0.9657 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.1941, allocations: 1.879 MB / 0.9675 GB, free: 3.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.195, allocations: 203.1 kB / 0.9677 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.1951, allocations: 55.94 kB / 0.9678 GB, free: 3.258 MB / 0.9167 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.0003741/0.1955, allocations: 252.2 kB / 0.968 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.1958, allocations: 159.2 kB / 0.9681 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.1983, allocations: 1.376 MB / 0.9695 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1984, allocations: 16 kB / 0.9695 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1984, allocations: 0 / 0.9695 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.1984, allocations: 11.91 kB / 0.9695 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.2022, allocations: 2.587 MB / 0.972 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2022, allocations: 3.938 kB / 0.972 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.2031, allocations: 351.5 kB / 0.9724 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.2034, allocations: 123.5 kB / 0.9725 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.2035, allocations: 51.94 kB / 0.9725 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.2046, allocations: 1.895 MB / 0.9744 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2046, allocations: 0 / 0.9744 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2062, allocations: 1.295 MB / 0.9757 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.2066, allocations: 354.6 kB / 0.976 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.2068, allocations: 43.86 kB / 0.976 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.2074, allocations: 134.5 kB / 0.9762 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2075, allocations: 109.1 kB / 0.9763 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.2076, allocations: 59.92 kB / 0.9763 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000262/0.2079, allocations: 418.8 kB / 0.9767 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.2079, allocations: 0 / 0.9767 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009523/0.2088, allocations: 0.5339 MB / 0.9773 GB, free: 9.293 MB / 0.9323 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.00133/0.2102, allocations: 0.6848 MB / 0.9779 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.2114, allocations: 1.046 MB / 0.9789 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2115, allocations: 0 / 0.9789 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/0.2122, allocations: 0.6983 MB / 0.9796 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.2131, allocations: 398.3 kB / 0.98 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2157, allocations: 2.242 MB / 0.9822 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2159, allocations: 270.5 kB / 0.9825 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007082/0.2166, allocations: 313.5 kB / 0.9828 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/0.2175, allocations: 465.8 kB / 0.9832 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/0.2175, allocations: 0 / 0.9832 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of Templates: time 0.02818/0.2457, allocations: 27.02 MB / 1.01 GB, free: 8.578 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.958669863641262]