Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008911, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009775/0.0009778, allocations: 183.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.000391, allocations: 12 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6516, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006511/0.6582, allocations: 5.8 MB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.8241, allocations: 147.2 MB / 1.173 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.8255, allocations: 19.88 kB / 1.173 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009455/0.8265, allocations: 178.6 kB / 1.173 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.8291, allocations: 0.592 MB / 1.174 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.8317, allocations: 0.8726 MB / 1.175 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.8346, allocations: 1.994 MB / 1.177 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.836, allocations: 0.8072 MB / 1.177 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008521/0.8368, allocations: 0.521 MB / 1.178 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008306/0.8377, allocations: 0.6043 MB / 1.179 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.8378, allocations: 44 kB / 1.179 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.839, allocations: 0.4917 MB / 1.179 GB, free: 92 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.8394, allocations: 306.7 kB / 1.179 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.8401, allocations: 0.6774 MB / 1.18 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.8418, allocations: 1.804 MB / 1.182 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8418, allocations: 3.984 kB / 1.182 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8418, allocations: 0 / 1.182 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.8418, allocations: 0 / 1.182 GB, free: 13.29 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.002958/0.8448, allocations: 1.59 MB / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8448, allocations: 15.97 kB / 1.183 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009505/0.8543, allocations: 1.579 MB / 1.185 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.8561, allocations: 1.032 MB / 1.186 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.8562, allocations: 98.67 kB / 1.186 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.8564, allocations: 132 kB / 1.186 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005509/0.8619, allocations: 2.334 MB / 1.188 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.862, allocations: 0 / 1.188 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.8622, allocations: 56 kB / 1.189 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.8622, allocations: 36 kB / 1.189 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008296/0.8705, allocations: 3.21 MB / 1.192 GB, free: 3.035 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009569/0.8801, allocations: 5.482 MB / 1.197 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008524/0.8886, allocations: 3.161 MB / 1.2 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/0.8921, allocations: 1.248 MB / 1.201 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005936/0.8927, allocations: 0.6105 MB / 1.202 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003969/0.8967, allocations: 1.559 MB / 1.203 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 4.749e-06/0.8967, allocations: 0 / 1.203 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01229/0.909, allocations: 3.98 MB / 1.207 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.9091, allocations: 197.2 kB / 1.208 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.9105, allocations: 0.81 MB / 1.208 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.9107, allocations: 57.7 kB / 1.208 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.9112, allocations: 0.5084 MB / 1.209 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/0.9116, allocations: 437.7 kB / 1.209 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.9118, allocations: 101.7 kB / 1.209 GB, free: 492 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.912, allocations: 349.9 kB / 1.21 GB, free: 136 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/0.9155, allocations: 1.17 MB / 1.211 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.9191, allocations: 1.3 MB / 1.212 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/0.9258, allocations: 2.294 MB / 1.214 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.9259, allocations: 3.938 kB / 1.214 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008111/0.934, allocations: 2.706 MB / 1.217 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.934, allocations: 4 kB / 1.217 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.934, allocations: 4 kB / 1.217 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.9347, allocations: 88.77 kB / 1.217 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.9372, allocations: 495.3 kB / 1.218 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.9392, allocations: 1.563 MB / 1.219 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.9417, allocations: 357.5 kB / 1.219 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.9419, allocations: 71.92 kB / 1.22 GB, free: 5.906 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (151): * Single equations (assignments): 150 * 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.000798/0.9427, allocations: 347.8 kB / 1.22 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.9431, allocations: 118.6 kB / 1.22 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009008/0.9521, allocations: 3.114 MB / 1.223 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.9521, allocations: 16 kB / 1.223 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9521, allocations: 0 / 1.223 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.9521, allocations: 7.969 kB / 1.223 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.9546, allocations: 1.819 MB / 1.225 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.9546, allocations: 4 kB / 1.225 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.9571, allocations: 471.3 kB / 1.225 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005472/0.9577, allocations: 84.77 kB / 1.225 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.9578, allocations: 51.94 kB / 1.225 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.9597, allocations: 1.552 MB / 1.227 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9597, allocations: 0 / 1.227 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/0.9678, allocations: 2.814 MB / 1.23 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.9688, allocations: 487 kB / 1.23 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.9691, allocations: 35.92 kB / 1.23 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/0.9714, allocations: 307.7 kB / 1.23 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.9716, allocations: 105.2 kB / 1.231 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.9718, allocations: 63.94 kB / 1.231 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000937/0.9727, allocations: 0.5849 MB / 1.231 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9727, allocations: 3.938 kB / 1.231 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001496/0.9742, allocations: 0.5146 MB / 1.232 GB, free: 9.191 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001673/0.9759, allocations: 0.6314 MB / 1.232 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007881/0.9838, allocations: 2.754 MB / 1.235 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9838, allocations: 0 / 1.235 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.9879, allocations: 1.524 MB / 1.236 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.9899, allocations: 318.4 kB / 1.237 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/0.9978, allocations: 3.833 MB / 1.241 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009792/0.9988, allocations: 1.191 MB / 1.242 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/0.9997, allocations: 195.2 kB / 1.242 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.9998, allocations: 0 / 1.242 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.574/1.574, allocations: 30.52 MB / 1.272 GB, free: 224.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches