Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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.0007727/0.0007727, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008153/0.0008153, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8528/0.8528, allocations: 177.1 MB / 203.5 MB, free: 5.723 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 1.767/1.767, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.066e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005004/0.005024, allocations: 5.262 MB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5459/0.5509, allocations: 133.4 MB / 1.136 GB, free: 14.03 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.5517, allocations: 24.94 kB / 1.136 GB, free: 14.02 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.5523, allocations: 232.5 kB / 1.137 GB, free: 13.86 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.5538, allocations: 0.6936 MB / 1.137 GB, free: 13.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5556, allocations: 1.022 MB / 1.138 GB, free: 12.91 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5573, allocations: 2.005 MB / 1.14 GB, free: 11.88 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006746/0.5579, allocations: 0.4971 MB / 1.141 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.559, allocations: 1.036 MB / 1.142 GB, free: 11.09 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.5597, allocations: 0.6048 MB / 1.142 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.5599, allocations: 172.2 kB / 1.142 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.561, allocations: 0.6612 MB / 1.143 GB, free: 10.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.5614, allocations: 474.5 kB / 1.144 GB, free: 10.42 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.5619, allocations: 0.544 MB / 1.144 GB, free: 10.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.5645, allocations: 2.443 MB / 1.146 GB, free: 9.148 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5646, allocations: 4 kB / 1.146 GB, free: 9.145 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5646, allocations: 4 kB / 1.146 GB, free: 9.141 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.5646, allocations: 1.125 kB / 1.146 GB, free: 9.141 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.002847/0.5674, allocations: 1.831 MB / 1.148 GB, free: 7.984 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5675, allocations: 9.594 kB / 1.148 GB, free: 7.984 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008497/0.576, allocations: 1.991 MB / 1.15 GB, free: 7.781 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5778, allocations: 0.953 MB / 1.151 GB, free: 7.227 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.5779, allocations: 97.19 kB / 1.151 GB, free: 7.184 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.5781, allocations: 129.2 kB / 1.151 GB, free: 7.141 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.5828, allocations: 2.603 MB / 1.154 GB, free: 6.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5828, allocations: 5.031 kB / 1.154 GB, free: 6.066 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.5829, allocations: 53.16 kB / 1.154 GB, free: 6.027 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.583, allocations: 30.72 kB / 1.154 GB, free: 6.027 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/0.5896, allocations: 3.179 MB / 1.157 GB, free: 5.32 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00727/0.5969, allocations: 4.213 MB / 1.161 GB, free: 3.227 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/0.6045, allocations: 3.273 MB / 1.164 GB, free: 2.395 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.6073, allocations: 1.254 MB / 1.166 GB, free: 2.066 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.6076, allocations: 87.62 kB / 1.166 GB, free: 2.051 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003135/0.6107, allocations: 1.754 MB / 1.167 GB, free: 1.484 MB / 1.01 GB Notification: Performance of pre-optimization done (n=142): time 3.577e-06/0.6107, allocations: 0 / 1.167 GB, free: 1.484 MB / 1.01 GB Notification: Performance of matching and sorting (n=142): time 0.009158/0.6199, allocations: 4.017 MB / 1.171 GB, free: 472 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.62, allocations: 210.1 kB / 1.172 GB, free: 240 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.6209, allocations: 0.7004 MB / 1.172 GB, free: 15.92 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.621, allocations: 62.12 kB / 1.172 GB, free: 15.86 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.6214, allocations: 497.5 kB / 1.173 GB, free: 15.48 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.6217, allocations: 476.2 kB / 1.173 GB, free: 15.11 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.6221, allocations: 308.1 kB / 1.174 GB, free: 14.99 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6223, allocations: 416.1 kB / 1.174 GB, free: 14.63 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.625, allocations: 1.232 MB / 1.175 GB, free: 14.22 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00299/0.628, allocations: 1.523 MB / 1.177 GB, free: 13.31 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005761/0.6337, allocations: 2.355 MB / 1.179 GB, free: 12.11 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.6337, allocations: 0 / 1.179 GB, free: 12.11 MB / 1.026 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006498/0.6402, allocations: 2.844 MB / 1.182 GB, free: 10.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.6403, allocations: 4.844 kB / 1.182 GB, free: 10.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6403, allocations: 5.844 kB / 1.182 GB, free: 10.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.6406, allocations: 87.17 kB / 1.182 GB, free: 10.64 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.6423, allocations: 0.5248 MB / 1.182 GB, free: 10.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.6438, allocations: 1.519 MB / 1.184 GB, free: 8.984 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6456, allocations: 363.2 kB / 1.184 GB, free: 8.789 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.6458, allocations: 76.16 kB / 1.184 GB, free: 8.754 MB / 1.026 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,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,incAng.decAng.k,$PRE.incAng.decAng.k,incAng.decAng.tNext,$PRE.incAng.decAng.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 (166): * Single equations (assignments): 165 * 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.0008099/0.6466, allocations: 349.2 kB / 1.185 GB, free: 8.492 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.6468, allocations: 115.7 kB / 1.185 GB, free: 8.43 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006664/0.6535, allocations: 3.324 MB / 1.188 GB, free: 6.609 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6535, allocations: 20.11 kB / 1.188 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6535, allocations: 7.375 kB / 1.188 GB, free: 6.602 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6535, allocations: 7.969 kB / 1.188 GB, free: 6.594 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.6616, allocations: 4.722 MB / 1.193 GB, free: 3.812 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6616, allocations: 0 / 1.193 GB, free: 3.812 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.6632, allocations: 0.4975 MB / 1.193 GB, free: 3.621 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.6634, allocations: 75.69 kB / 1.193 GB, free: 3.582 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.6635, allocations: 58.98 kB / 1.193 GB, free: 3.543 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.6647, allocations: 1.539 MB / 1.195 GB, free: 2.094 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6647, allocations: 4.562 kB / 1.195 GB, free: 2.09 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/0.6707, allocations: 2.957 MB / 1.198 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.6714, allocations: 364.5 kB / 1.198 GB, free: 300 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.6716, allocations: 32.27 kB / 1.198 GB, free: 276 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.673, allocations: 312.1 kB / 1.198 GB, free: 124 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.6731, allocations: 110.8 kB / 1.198 GB, free: 48 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/0.6732, allocations: 71.86 kB / 1.198 GB, free: 16 kB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000516/0.6737, allocations: 0.5012 MB / 1.199 GB, free: 15.71 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6737, allocations: 0 / 1.199 GB, free: 15.71 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001336/0.6751, allocations: 0.5206 MB / 1.199 GB, free: 15.58 MB / 1.042 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,incAng.decAng.tNext,incAng.decAng.k,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) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 141 * 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.001245/0.6763, allocations: 0.6958 MB / 1.2 GB, free: 15.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005915/0.6822, allocations: 2.833 MB / 1.203 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6822, allocations: 0 / 1.203 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.6852, allocations: 1.497 MB / 1.204 GB, free: 11.32 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6863, allocations: 324.2 kB / 1.205 GB, free: 11.02 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.6914, allocations: 3.164 MB / 1.208 GB, free: 7.82 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.6918, allocations: 0.5682 MB / 1.208 GB, free: 7.219 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/0.6926, allocations: 224.2 kB / 1.208 GB, free: 6.996 MB / 1.042 GB Notification: Performance of SimCode: time 1.222e-06/0.6926, allocations: 0 / 1.208 GB, free: 6.996 MB / 1.042 GB Notification: Performance of Templates: time 0.02954/0.7222, allocations: 30.99 MB / 1.239 GB, free: 8.043 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.385146852582693]