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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00117/0.00117, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001473/0.001473, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 13.31 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.409, allocations: 159.6 MB / 1.058 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006794/0.4159, allocations: 5.441 MB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.5756, allocations: 137.4 MB / 1.197 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5769, allocations: 19.88 kB / 1.197 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.5776, allocations: 166.6 kB / 1.198 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.5796, allocations: 0.5809 MB / 1.198 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.5818, allocations: 0.7453 MB / 1.199 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.5841, allocations: 1.83 MB / 1.201 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.5852, allocations: 0.6291 MB / 1.201 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.5862, allocations: 0.5096 MB / 1.202 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.5869, allocations: 0.5794 MB / 1.202 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.5871, allocations: 44 kB / 1.202 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.5882, allocations: 467.5 kB / 1.203 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.5885, allocations: 290.8 kB / 1.203 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.5888, allocations: 297 kB / 1.203 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.5905, allocations: 1.8 MB / 1.205 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5906, allocations: 0 / 1.205 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5906, allocations: 0 / 1.205 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.5906, allocations: 0 / 1.205 GB, free: 14.08 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.00327/0.5939, allocations: 1.617 MB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5939, allocations: 12.03 kB / 1.207 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008424/0.6023, allocations: 1.574 MB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.6044, allocations: 0.9927 MB / 1.209 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.6045, allocations: 110.6 kB / 1.209 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.6048, allocations: 128 kB / 1.21 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/0.6102, allocations: 2.322 MB / 1.212 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6102, allocations: 0 / 1.212 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.6104, allocations: 56 kB / 1.212 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.6104, allocations: 35.98 kB / 1.212 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/0.6179, allocations: 3.199 MB / 1.215 GB, free: 3.859 MB / 0.9669 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.009789/0.6277, allocations: 5.479 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.6355, allocations: 3.151 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.6386, allocations: 1.238 MB / 1.225 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/0.6392, allocations: 0.6182 MB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003621/0.6428, allocations: 1.555 MB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 4.298e-06/0.6428, allocations: 0 / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133): time 0.01085/0.6537, allocations: 3.965 MB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6538, allocations: 205.2 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6551, allocations: 0.8021 MB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.6552, allocations: 53.7 kB / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.6557, allocations: 0.5045 MB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004431/0.6561, allocations: 437.7 kB / 1.233 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6563, allocations: 24 kB / 1.233 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6564, allocations: 353.9 kB / 1.233 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.6594, allocations: 1.162 MB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.6626, allocations: 1.3 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.6657, allocations: 1.134 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6657, allocations: 4 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007194/0.6729, allocations: 2.706 MB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6729, allocations: 4 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.673, allocations: 4 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/0.6735, allocations: 88.8 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.6759, allocations: 491.3 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.6782, allocations: 1.537 MB / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.6808, allocations: 360.9 kB / 1.242 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.681, allocations: 59.94 kB / 1.242 GB, free: 8.082 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001038/0.6821, allocations: 364 kB / 1.242 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.6825, allocations: 118.6 kB / 1.242 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008393/0.6909, allocations: 3.106 MB / 1.245 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.6909, allocations: 16 kB / 1.245 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.691, allocations: 7.953 kB / 1.245 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.691, allocations: 7.969 kB / 1.245 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.6936, allocations: 1.812 MB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.6936, allocations: 0 / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/0.6959, allocations: 475.3 kB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.6964, allocations: 88.77 kB / 1.247 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.6966, allocations: 51.94 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6985, allocations: 1.552 MB / 1.249 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6985, allocations: 11.95 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6671/1.366, allocations: 2.793 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009883/1.367, allocations: 483.5 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.367, allocations: 29.14 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.369, allocations: 313.6 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/1.369, allocations: 105.3 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.369, allocations: 64.34 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009415/1.37, allocations: 0.5731 MB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.373e-06/1.37, allocations: 0 / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001508/1.372, allocations: 0.5079 MB / 1.254 GB, free: 187.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/1.373, allocations: 0.6449 MB / 1.254 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006604/1.38, allocations: 2.747 MB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.38, allocations: 0 / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.383, allocations: 1.506 MB / 1.258 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.385, allocations: 310.7 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/1.392, allocations: 3.698 MB / 1.262 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.393, allocations: 1.191 MB / 1.264 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002372/1.396, allocations: 486.1 kB / 1.264 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/1.397, allocations: 172 kB / 1.264 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.397, allocations: 0 / 1.264 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05357/1.45, allocations: 22.54 MB / 1.286 GB, free: 178.1 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