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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 196.8 kB / 16.14 MB, free: 6.645 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.8 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.11 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007566/0.314, allocations: 6.226 MB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1805/0.4946, allocations: 149.2 MB / 1.204 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.4959, allocations: 15.94 kB / 1.204 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.4967, allocations: 182.5 kB / 1.204 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.499, allocations: 0.5928 MB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.5015, allocations: 0.8768 MB / 1.206 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.5037, allocations: 1.986 MB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.505, allocations: 0.8461 MB / 1.208 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.5061, allocations: 0.6187 MB / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.507, allocations: 0.7521 MB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.5072, allocations: 92 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.5084, allocations: 0.5425 MB / 1.21 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.5088, allocations: 386.5 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.5096, allocations: 0.7499 MB / 1.211 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.512, allocations: 2.341 MB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5121, allocations: 0 / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5121, allocations: 0 / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.5121, allocations: 3.938 kB / 1.214 GB, free: 2.746 MB / 0.9669 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.003828/0.5159, allocations: 1.902 MB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.516, allocations: 12.03 kB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009551/0.5255, allocations: 1.286 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.5277, allocations: 1.028 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.5278, allocations: 110.7 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.5281, allocations: 127.9 kB / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.5337, allocations: 2.209 MB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5337, allocations: 0 / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.5339, allocations: 60 kB / 1.22 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.534, allocations: 32 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/0.542, allocations: 2.964 MB / 1.223 GB, free: 8.844 MB / 0.9825 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.01045/0.5525, allocations: 5.401 MB / 1.228 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008235/0.5608, allocations: 2.88 MB / 1.231 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.564, allocations: 1.123 MB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.5646, allocations: 0.6104 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003769/0.5684, allocations: 1.45 MB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.567e-06/0.5684, allocations: 0 / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01144/0.5798, allocations: 3.625 MB / 1.238 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.58, allocations: 201.2 kB / 1.238 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.5815, allocations: 0.8138 MB / 1.239 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.5817, allocations: 53.64 kB / 1.239 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.5822, allocations: 0.5123 MB / 1.239 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.5827, allocations: 429.8 kB / 1.24 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/0.5833, allocations: 270.6 kB / 1.24 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5835, allocations: 353.9 kB / 1.24 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.5867, allocations: 1.052 MB / 1.241 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.59, allocations: 1.187 MB / 1.243 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/0.5961, allocations: 2.063 MB / 1.245 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.5961, allocations: 3.938 kB / 1.245 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.6584/1.255, allocations: 2.474 MB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.255, allocations: 5.562 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.255, allocations: 1.719 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/1.255, allocations: 83.53 kB / 1.247 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/1.258, allocations: 434.4 kB / 1.248 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.26, allocations: 1.549 MB / 1.249 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.263, allocations: 291.7 kB / 1.249 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.263, allocations: 65.42 kB / 1.249 GB, free: 190.9 MB / 0.9981 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.000841/1.264, allocations: 356.7 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.264, allocations: 114.5 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/1.272, allocations: 2.884 MB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.272, allocations: 21.42 kB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.272, allocations: 0.5 kB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.272, allocations: 7.359 kB / 1.253 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/1.275, allocations: 1.811 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.275, allocations: 0.875 kB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/1.277, allocations: 409.9 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/1.277, allocations: 85.44 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/1.278, allocations: 47.88 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/1.279, allocations: 1.572 MB / 1.257 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.279, allocations: 3.828 kB / 1.257 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007533/1.287, allocations: 2.581 MB / 1.259 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.288, allocations: 465.9 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/1.288, allocations: 35.88 kB / 1.26 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.29, allocations: 234 kB / 1.26 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.291, allocations: 101.1 kB / 1.26 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.291, allocations: 63.22 kB / 1.26 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001002/1.292, allocations: 0.5822 MB / 1.26 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.8e-07/1.292, allocations: 0 / 1.26 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001833/1.294, allocations: 0.5145 MB / 1.261 GB, free: 188.7 MB / 0.9981 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.001834/1.296, allocations: 0.6377 MB / 1.262 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008879/1.305, allocations: 2.522 MB / 1.264 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.305, allocations: 0.9375 kB / 1.264 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/1.309, allocations: 1.395 MB / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.312, allocations: 327.7 kB / 1.266 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/1.321, allocations: 3.649 MB / 1.269 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/1.322, allocations: 1.19 MB / 1.27 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002324/1.324, allocations: 487.1 kB / 1.271 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/1.325, allocations: 173.8 kB / 1.271 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.483e-06/1.325, allocations: 0 / 1.271 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04718/1.372, allocations: 23.33 MB / 1.294 GB, free: 176.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) 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) Reference file matches