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.001988/0.001988, allocations: 93.47 kB / 19.44 MB, free: 336 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.002187/0.002187, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.439/3.439, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.713e-06/1.713e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.902e-05, allocations: 3.656 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009836/0.009866, allocations: 6.01 MB / 0.8833 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2168/0.2267, allocations: 147.2 MB / 1.027 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.228, allocations: 27.81 kB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.2291, allocations: 241.7 kB / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.2321, allocations: 0.7375 MB / 1.028 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.2351, allocations: 1.036 MB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.2383, allocations: 2.161 MB / 1.031 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2394, allocations: 0.5565 MB / 1.032 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.2413, allocations: 1.146 MB / 1.033 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2424, allocations: 0.6505 MB / 1.033 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.2428, allocations: 200 kB / 1.034 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.2444, allocations: 0.6944 MB / 1.034 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.245, allocations: 0.5023 MB / 1.035 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.2459, allocations: 0.5962 MB / 1.035 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.2506, allocations: 2.73 MB / 1.038 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2506, allocations: 3.938 kB / 1.038 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of FrontEnd: time 6.121e-06/0.2506, allocations: 3.984 kB / 1.038 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.481e-05/0.2507, allocations: 0 / 1.038 GB, free: 1.582 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.004913/0.2556, allocations: 2.159 MB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2556, allocations: 12.03 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/0.2687, allocations: 1.548 MB / 1.042 GB, free: 13.81 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.2726, allocations: 1.045 MB / 1.043 GB, free: 12.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.2729, allocations: 106.8 kB / 1.043 GB, free: 12.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007161/0.2736, allocations: 148 kB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009757/0.2834, allocations: 2.434 MB / 1.045 GB, free: 9.918 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.596e-05/0.2834, allocations: 3.984 kB / 1.045 GB, free: 9.914 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.2837, allocations: 60 kB / 1.045 GB, free: 9.855 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.2838, allocations: 32 kB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.2971, allocations: 2.559 MB / 1.048 GB, free: 7.258 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.3205, allocations: 5.384 MB / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4727/0.7932, allocations: 2.351 MB / 1.055 GB, free: 217.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.7963, allocations: 0.8978 MB / 1.056 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.7967, allocations: 86 kB / 1.056 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003483/0.8001, allocations: 1.457 MB / 1.058 GB, free: 217.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=143): time 3.196e-06/0.8001, allocations: 0 / 1.058 GB, free: 217.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=143): time 0.0106/0.8107, allocations: 2.955 MB / 1.061 GB, free: 217.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.8108, allocations: 205.8 kB / 1.061 GB, free: 216.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.8118, allocations: 0.9141 MB / 1.062 GB, free: 216.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.812, allocations: 57.61 kB / 1.062 GB, free: 216.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.8124, allocations: 0.6211 MB / 1.062 GB, free: 216 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.8128, allocations: 0.5077 MB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.8134, allocations: 363.2 kB / 1.063 GB, free: 215.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.8136, allocations: 0.6722 MB / 1.064 GB, free: 214.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/0.8165, allocations: 0.8394 MB / 1.065 GB, free: 214.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/0.8197, allocations: 1.206 MB / 1.066 GB, free: 214.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/0.8252, allocations: 1.672 MB / 1.068 GB, free: 213.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.8252, allocations: 3.188 kB / 1.068 GB, free: 213.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007384/0.8326, allocations: 2.144 MB / 1.07 GB, free: 213.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.8326, allocations: 13.94 kB / 1.07 GB, free: 213.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8326, allocations: 3.094 kB / 1.07 GB, free: 213.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.8336, allocations: 134 kB / 1.07 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.8362, allocations: 437.6 kB / 1.07 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.8381, allocations: 2.047 MB / 1.072 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.8404, allocations: 233 kB / 1.072 GB, free: 211 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.8406, allocations: 75.83 kB / 1.073 GB, free: 211 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.0007454/0.8413, allocations: 345.6 kB / 1.073 GB, free: 210.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.8418, allocations: 160 kB / 1.073 GB, free: 210.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008314/0.8501, allocations: 2.577 MB / 1.076 GB, free: 209.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.8501, allocations: 20.25 kB / 1.076 GB, free: 209.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8501, allocations: 0 / 1.076 GB, free: 209.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.8501, allocations: 6.656 kB / 1.076 GB, free: 209.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8603, allocations: 4.315 MB / 1.08 GB, free: 208.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8603, allocations: 0 / 1.08 GB, free: 208.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.8627, allocations: 395.3 kB / 1.08 GB, free: 208.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/0.8635, allocations: 127.2 kB / 1.08 GB, free: 208.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.8636, allocations: 60.05 kB / 1.08 GB, free: 208 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.8654, allocations: 2.074 MB / 1.082 GB, free: 206.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8654, allocations: 3.125 kB / 1.082 GB, free: 206.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008555/0.8739, allocations: 2.359 MB / 1.085 GB, free: 205.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.8751, allocations: 406.7 kB / 1.085 GB, free: 205.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.8754, allocations: 33.66 kB / 1.085 GB, free: 205.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.8774, allocations: 172.1 kB / 1.085 GB, free: 205.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.8777, allocations: 113.6 kB / 1.085 GB, free: 205 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.8779, allocations: 72.09 kB / 1.085 GB, free: 205 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009511/0.8788, allocations: 0.574 MB / 1.086 GB, free: 204.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8788, allocations: 0 / 1.086 GB, free: 204.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002414/0.8813, allocations: 0.5442 MB / 1.087 GB, free: 204.7 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.003515/0.8848, allocations: 0.6898 MB / 1.087 GB, free: 204.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007828/0.8926, allocations: 2.238 MB / 1.089 GB, free: 203.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.8926, allocations: 1.062 kB / 1.089 GB, free: 203.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003906/0.8965, allocations: 1.296 MB / 1.091 GB, free: 203.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.8983, allocations: 430.5 kB / 1.091 GB, free: 203.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.9046, allocations: 2.848 MB / 1.094 GB, free: 201.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.9051, allocations: 0.5952 MB / 1.094 GB, free: 201.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001967/0.9071, allocations: 0.4947 MB / 1.095 GB, free: 201.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000829/0.9079, allocations: 186.2 kB / 1.095 GB, free: 201.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.044e-06/0.9079, allocations: 4 kB / 1.095 GB, free: 201.5 MB / 1.01 GB Notification: Performance of Templates: time 0.04819/0.9561, allocations: 26.77 MB / 1.121 GB, free: 195 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.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: 10.43181675602682]