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.001476/0.001476, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.00162/0.00162, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9484/0.9484, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.842/1.842, allocations: 359 MB / 0.6052 GB, free: 11.03 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 2.515e-06/2.515e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/3.98e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008093/0.008132, allocations: 6.084 MB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.1508, allocations: 147.5 MB / 0.937 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.152, allocations: 31.75 kB / 0.937 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007102/0.1527, allocations: 241.7 kB / 0.9373 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1547, allocations: 0.7453 MB / 0.938 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.1567, allocations: 1.021 MB / 0.939 GB, free: 444 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1587, allocations: 2.177 MB / 0.9411 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008911/0.1596, allocations: 0.5527 MB / 0.9417 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.1608, allocations: 1.15 MB / 0.9428 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.1616, allocations: 0.6561 MB / 0.9434 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.1619, allocations: 200 kB / 0.9436 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1631, allocations: 0.6906 MB / 0.9443 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.1635, allocations: 0.4985 MB / 0.9448 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.164, allocations: 0.6078 MB / 0.9454 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.1663, allocations: 1.849 MB / 0.9472 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1663, allocations: 4 kB / 0.9472 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1663, allocations: 0 / 0.9472 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.1663, allocations: 0 / 0.9472 GB, free: 7.988 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.002723/0.1691, allocations: 2.03 MB / 0.9492 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1691, allocations: 8.031 kB / 0.9492 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.1746, allocations: 1.263 MB / 0.9504 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.1761, allocations: 1.002 MB / 0.9514 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.1762, allocations: 106.8 kB / 0.9515 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.1764, allocations: 144 kB / 0.9516 GB, free: 3.355 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.1794, allocations: 1.833 MB / 0.9534 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.1795, allocations: 3.938 kB / 0.9534 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.1796, allocations: 59.98 kB / 0.9535 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.1796, allocations: 36 kB / 0.9535 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.182, allocations: 1.381 MB / 0.9549 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.1871, allocations: 3.937 MB / 0.9587 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.1891, allocations: 1.19 MB / 0.9599 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/0.1898, allocations: 411.4 kB / 0.9603 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.19, allocations: 97.23 kB / 0.9604 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.1911, allocations: 0.8508 MB / 0.9612 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=143): time 3.647e-06/0.1911, allocations: 0 / 0.9612 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of matching and sorting (n=143): time 0.002939/0.1941, allocations: 1.559 MB / 0.9627 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1941, allocations: 209.2 kB / 0.9629 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.1947, allocations: 0.679 MB / 0.9636 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.951e-05/0.1948, allocations: 61.7 kB / 0.9636 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.1951, allocations: 0.5826 MB / 0.9642 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.1954, allocations: 487.9 kB / 0.9647 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.1957, allocations: 297.1 kB / 0.9649 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1959, allocations: 0.5859 MB / 0.9655 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.1965, allocations: 339.8 kB / 0.9658 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.1972, allocations: 0.6455 MB / 0.9665 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1985, allocations: 0.786 MB / 0.9672 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1985, allocations: 4 kB / 0.9672 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002086/0.2006, allocations: 1.203 MB / 0.9684 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2006, allocations: 7.938 kB / 0.9684 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2006, allocations: 0 / 0.9684 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.2011, allocations: 135.6 kB / 0.9686 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2021, allocations: 395.3 kB / 0.9689 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.2034, allocations: 1.91 MB / 0.9708 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.2041, allocations: 199.2 kB / 0.971 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.2042, allocations: 71.92 kB / 0.9711 GB, free: 14.84 MB / 0.9323 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.0003065/0.2045, allocations: 240.3 kB / 0.9713 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.2047, allocations: 163.3 kB / 0.9714 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.2071, allocations: 1.532 MB / 0.9729 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.2071, allocations: 16 kB / 0.973 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2071, allocations: 3.938 kB / 0.973 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2071, allocations: 11.97 kB / 0.973 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.2109, allocations: 2.926 MB / 0.9758 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2109, allocations: 0 / 0.9758 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/0.2118, allocations: 351.5 kB / 0.9762 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/0.2122, allocations: 119.6 kB / 0.9763 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/0.2123, allocations: 47.94 kB / 0.9763 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.2135, allocations: 1.925 MB / 0.9782 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2135, allocations: 144 / 0.9782 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.2155, allocations: 1.444 MB / 0.9796 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.216, allocations: 378.7 kB / 0.98 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2161, allocations: 43.92 kB / 0.98 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.2168, allocations: 142.9 kB / 0.9802 GB, free: 5.277 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.217, allocations: 113.1 kB / 0.9803 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/0.2171, allocations: 63.94 kB / 0.9803 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003763/0.2174, allocations: 458.9 kB / 0.9808 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 3.938 kB / 0.9808 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001004/0.2184, allocations: 0.5417 MB / 0.9813 GB, free: 4.113 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.001374/0.2198, allocations: 0.6801 MB / 0.982 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.2217, allocations: 1.19 MB / 0.9831 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2217, allocations: 3.938 kB / 0.9831 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.2226, allocations: 0.7726 MB / 0.9839 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.2235, allocations: 415.3 kB / 0.9843 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.2268, allocations: 2.309 MB / 0.9865 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.227, allocations: 278.4 kB / 0.9868 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000887/0.2279, allocations: 429.3 kB / 0.9872 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.2284, allocations: 172.4 kB / 0.9874 GB, free: 13.98 MB / 0.948 GB Notification: Performance of SimCode: time 9.81e-07/0.2284, allocations: 0 / 0.9874 GB, free: 13.98 MB / 0.948 GB Notification: Performance of Templates: time 0.02803/0.2564, allocations: 25.03 MB / 1.012 GB, free: 5.227 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: 6.030376909300685]