Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009639/0.0009639, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.0009729/0.0009729, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.085/1.085, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.12/2.12, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.101e-05, allocations: 5.641 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00635/0.006381, allocations: 6.092 MB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.1429, allocations: 147.5 MB / 1.028 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.1439, allocations: 23.81 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.1446, allocations: 237.7 kB / 1.028 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1466, allocations: 0.7337 MB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1486, allocations: 1.032 MB / 1.03 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.1507, allocations: 2.173 MB / 1.032 GB, free: 8.035 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.1514, allocations: 0.5565 MB / 1.033 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1527, allocations: 1.154 MB / 1.034 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.1533, allocations: 0.6428 MB / 1.035 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.1535, allocations: 200 kB / 1.035 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1546, allocations: 0.6944 MB / 1.035 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.1549, allocations: 0.4985 MB / 1.036 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.1554, allocations: 0.6001 MB / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.1573, allocations: 1.849 MB / 1.038 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1573, allocations: 0 / 1.038 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1573, allocations: 4 kB / 1.038 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.1573, allocations: 0 / 1.038 GB, free: 1.789 MB / 0.9948 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.002125/0.1595, allocations: 2.023 MB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1595, allocations: 12.03 kB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.1654, allocations: 1.544 MB / 1.042 GB, free: 14.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.1667, allocations: 1.025 MB / 1.043 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.1668, allocations: 106.8 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.167, allocations: 144 kB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.1698, allocations: 1.993 MB / 1.045 GB, free: 10.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1699, allocations: 4 kB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.17, allocations: 56 kB / 1.045 GB, free: 10.67 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.17, allocations: 32 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1721, allocations: 1.51 MB / 1.047 GB, free: 9.117 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.178, allocations: 4.268 MB / 1.051 GB, free: 4.777 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1805, allocations: 1.367 MB / 1.052 GB, free: 3.414 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/0.1813, allocations: 480.9 kB / 1.052 GB, free: 2.945 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.1815, allocations: 85.23 kB / 1.053 GB, free: 2.859 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.1827, allocations: 0.9562 MB / 1.053 GB, free: 1.855 MB / 1.01 GB Notification: Performance of pre-optimization done (n=143): time 5.189e-06/0.1827, allocations: 3.984 kB / 1.053 GB, free: 1.852 MB / 1.01 GB Notification: Performance of matching and sorting (n=143): time 0.003481/0.1862, allocations: 1.739 MB / 1.055 GB, free: 108 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5626/0.7488, allocations: 209.2 kB / 1.055 GB, free: 68.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.7497, allocations: 0.6757 MB / 1.056 GB, free: 67.88 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004386/0.7501, allocations: 63.92 kB / 1.056 GB, free: 67.85 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.7505, allocations: 0.5753 MB / 1.057 GB, free: 67.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.7509, allocations: 488.5 kB / 1.057 GB, free: 67.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.7513, allocations: 309.2 kB / 1.057 GB, free: 67.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7514, allocations: 0.5905 MB / 1.058 GB, free: 66.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.7522, allocations: 399.3 kB / 1.058 GB, free: 66.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.753, allocations: 0.7101 MB / 1.059 GB, free: 66.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.7544, allocations: 0.8592 MB / 1.06 GB, free: 66.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7544, allocations: 0 / 1.06 GB, free: 66.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002565/0.757, allocations: 1.323 MB / 1.061 GB, free: 66.47 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.757, allocations: 5.781 kB / 1.061 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.757, allocations: 0 / 1.061 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.7575, allocations: 130.7 kB / 1.061 GB, free: 66.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.759, allocations: 437.6 kB / 1.062 GB, free: 66.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.7605, allocations: 1.909 MB / 1.064 GB, free: 64.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.7618, allocations: 231.2 kB / 1.064 GB, free: 64.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.762, allocations: 76.06 kB / 1.064 GB, free: 64.68 MB / 1.01 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.0006184/0.7626, allocations: 248.6 kB / 1.064 GB, free: 64.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.7629, allocations: 164.2 kB / 1.064 GB, free: 64.45 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/0.7661, allocations: 1.785 MB / 1.066 GB, free: 64.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.7661, allocations: 18.03 kB / 1.066 GB, free: 64.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7662, allocations: 2.984 kB / 1.066 GB, free: 64.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.7662, allocations: 7.484 kB / 1.066 GB, free: 64.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.7708, allocations: 3.162 MB / 1.069 GB, free: 63.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.7708, allocations: 0 / 1.069 GB, free: 63.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7721, allocations: 389.8 kB / 1.07 GB, free: 63.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.7725, allocations: 121.5 kB / 1.07 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.7726, allocations: 63.44 kB / 1.07 GB, free: 63.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.7738, allocations: 1.924 MB / 1.072 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7738, allocations: 5.266 kB / 1.072 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.7765, allocations: 1.53 MB / 1.073 GB, free: 61.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.7771, allocations: 407.3 kB / 1.073 GB, free: 61.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.7773, allocations: 32.67 kB / 1.074 GB, free: 61.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/0.7782, allocations: 176.7 kB / 1.074 GB, free: 61.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7784, allocations: 110.4 kB / 1.074 GB, free: 61.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7785, allocations: 70.98 kB / 1.074 GB, free: 61.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004086/0.7789, allocations: 460.1 kB / 1.074 GB, free: 61.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7789, allocations: 0 / 1.074 GB, free: 61.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001241/0.7801, allocations: 0.5407 MB / 1.075 GB, free: 61.38 MB / 1.01 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 (155): * Single equations (assignments): 142 * 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.001411/0.7815, allocations: 0.6616 MB / 1.075 GB, free: 61.22 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.7838, allocations: 1.33 MB / 1.077 GB, free: 61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.7838, allocations: 3.75 kB / 1.077 GB, free: 61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.7849, allocations: 0.8438 MB / 1.078 GB, free: 60.81 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7861, allocations: 428.8 kB / 1.078 GB, free: 60.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.7902, allocations: 2.369 MB / 1.08 GB, free: 59.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.7904, allocations: 269.1 kB / 1.081 GB, free: 59.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001483/0.7919, allocations: 497.7 kB / 1.081 GB, free: 59.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/0.7924, allocations: 192.8 kB / 1.081 GB, free: 59.62 MB / 1.01 GB Notification: Performance of SimCode: time 2.725e-06/0.7924, allocations: 0 / 1.081 GB, free: 59.62 MB / 1.01 GB Notification: Performance of Templates: time 0.04027/0.8327, allocations: 26.79 MB / 1.107 GB, free: 57.12 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.076197006274015]