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.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008721, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005845/0.005845, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003768, allocations: 12.31 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3222, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006598/0.3288, allocations: 5.386 MB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.483, allocations: 147 MB / 1.208 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.4843, allocations: 19.88 kB / 1.208 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.485, allocations: 170.7 kB / 1.208 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.4871, allocations: 0.559 MB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.4894, allocations: 0.8544 MB / 1.209 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.4916, allocations: 1.862 MB / 1.211 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.4927, allocations: 0.7394 MB / 1.212 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4938, allocations: 0.49 MB / 1.212 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007336/0.4945, allocations: 0.5831 MB / 1.213 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.4946, allocations: 40 kB / 1.213 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4958, allocations: 0.4917 MB / 1.213 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4961, allocations: 298.8 kB / 1.213 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.4967, allocations: 0.6385 MB / 1.214 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.499, allocations: 2.028 MB / 1.216 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.499, allocations: 0 / 1.216 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.917e-06/0.4991, allocations: 4 kB / 1.216 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.4991, allocations: 0 / 1.216 GB, free: 3.68 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003234/0.5023, allocations: 1.523 MB / 1.218 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5024, allocations: 12.03 kB / 1.218 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009638/0.512, allocations: 1.567 MB / 1.219 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5139, allocations: 0.9537 MB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.514, allocations: 90.45 kB / 1.22 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.5143, allocations: 120 kB / 1.22 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005369/0.5196, allocations: 2.162 MB / 1.222 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5197, allocations: 0 / 1.222 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.5199, allocations: 48 kB / 1.222 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.5199, allocations: 32 kB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.528, allocations: 3.002 MB / 1.225 GB, free: 9.988 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.009156/0.5372, allocations: 4.824 MB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008582/0.5458, allocations: 3.016 MB / 1.233 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.5492, allocations: 1.155 MB / 1.234 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.5498, allocations: 0.6102 MB / 1.235 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/0.5538, allocations: 1.469 MB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.316e-06/0.5538, allocations: 4 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01163/0.5654, allocations: 3.723 MB / 1.24 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5656, allocations: 201.2 kB / 1.24 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5668, allocations: 0.7745 MB / 1.241 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.5669, allocations: 49.7 kB / 1.241 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.5674, allocations: 484.8 kB / 1.241 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.5678, allocations: 429.8 kB / 1.242 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.568, allocations: 97.66 kB / 1.242 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5681, allocations: 353.9 kB / 1.242 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.5714, allocations: 1.08 MB / 1.243 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/0.5747, allocations: 1.218 MB / 1.244 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/0.5812, allocations: 2.149 MB / 1.246 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5812, allocations: 0 / 1.246 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007761/0.589, allocations: 2.557 MB / 1.249 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.589, allocations: 8 kB / 1.249 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5891, allocations: 0 / 1.249 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.5897, allocations: 88.83 kB / 1.249 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.5922, allocations: 487.3 kB / 1.249 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7081/1.3, allocations: 1.537 MB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.303, allocations: 359.9 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/1.304, allocations: 64.98 kB / 1.251 GB, free: 188.6 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,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,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 (150): * Single equations (assignments): 149 * 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.0009052/1.305, allocations: 327.6 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/1.305, allocations: 110.9 kB / 1.252 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009114/1.314, allocations: 2.96 MB / 1.255 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.314, allocations: 17.55 kB / 1.255 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.314, allocations: 3.875 kB / 1.255 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.314, allocations: 9.641 kB / 1.255 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.325, allocations: 4.524 MB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.325, allocations: 3.719 kB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.328, allocations: 477.9 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/1.328, allocations: 83.36 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.329, allocations: 53.25 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/1.33, allocations: 1.566 MB / 1.261 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.33, allocations: 4.766 kB / 1.261 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008045/1.338, allocations: 2.715 MB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.339, allocations: 440.7 kB / 1.264 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.34, allocations: 31.16 kB / 1.264 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.342, allocations: 307.7 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.342, allocations: 99.77 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.342, allocations: 69.33 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001002/1.343, allocations: 0.5526 MB / 1.265 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.343, allocations: 3.594 kB / 1.265 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002074/1.345, allocations: 0.4883 MB / 1.266 GB, free: 186.2 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.001759/1.347, allocations: 0.6519 MB / 1.266 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008612/1.356, allocations: 2.579 MB / 1.269 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.356, allocations: 0.5 kB / 1.269 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.361, allocations: 1.425 MB / 1.27 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.363, allocations: 313.4 kB / 1.271 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/1.37, allocations: 3.522 MB / 1.274 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/1.371, allocations: 1.16 MB / 1.275 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00236/1.373, allocations: 481.7 kB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/1.374, allocations: 171.7 kB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.374, allocations: 0 / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04222/1.416, allocations: 21.99 MB / 1.297 GB, free: 173.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) 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) Reference file matches