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.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.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.001074/0.001074, allocations: 90.75 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.001167/0.001167, 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 9.875 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006946/0.3885, allocations: 5.075 MB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5679, allocations: 137.1 MB / 1.197 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.569, allocations: 19.88 kB / 1.197 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.5696, allocations: 170.6 kB / 1.197 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.5714, allocations: 0.5434 MB / 1.198 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5735, allocations: 0.7452 MB / 1.198 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5757, allocations: 1.706 MB / 1.2 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.5766, allocations: 0.553 MB / 1.201 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009122/0.5775, allocations: 498 kB / 1.201 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.5783, allocations: 0.5561 MB / 1.202 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.5784, allocations: 40 kB / 1.202 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5795, allocations: 471.5 kB / 1.202 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5798, allocations: 286.8 kB / 1.202 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.5801, allocations: 265 kB / 1.203 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.5819, allocations: 1.586 MB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5819, allocations: 0 / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5819, allocations: 3.984 kB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.5819, allocations: 0 / 1.204 GB, free: 15.23 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.003058/0.585, allocations: 1.546 MB / 1.206 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5851, allocations: 8.031 kB / 1.206 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/0.5934, allocations: 1.567 MB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.5954, allocations: 0.9223 MB / 1.208 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/0.5955, allocations: 94.45 kB / 1.208 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.5957, allocations: 116 kB / 1.208 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/0.6008, allocations: 2.151 MB / 1.21 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6009, allocations: 0 / 1.21 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.6011, allocations: 56 kB / 1.21 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.6011, allocations: 32 kB / 1.21 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007563/0.6087, allocations: 2.987 MB / 1.213 GB, free: 5.578 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.01014/0.6188, allocations: 4.821 MB / 1.218 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/0.6266, allocations: 3.019 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.6296, allocations: 1.155 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.6304, allocations: 0.6062 MB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003594/0.634, allocations: 1.458 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=132): time 3.757e-06/0.634, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=132): time 0.01057/0.6446, allocations: 3.726 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.6447, allocations: 197.2 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.646, allocations: 0.7667 MB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.6461, allocations: 45.7 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.6466, allocations: 480.8 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.6471, allocations: 437.7 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.6472, allocations: 24 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6473, allocations: 353.9 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.6502, allocations: 1.076 MB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.6534, allocations: 1.206 MB / 1.232 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.6563, allocations: 1.06 MB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.6563, allocations: 4 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00751/0.6638, allocations: 2.553 MB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6639, allocations: 4 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6639, allocations: 4 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.6645, allocations: 88.83 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.6668, allocations: 487.3 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.669, allocations: 1.525 MB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.6713, allocations: 365.1 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.6715, allocations: 71.92 kB / 1.238 GB, free: 11.5 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.incAng.decAng.tNext,incAng.decAng.tNext,$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,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 (150): * Single equations (assignments): 149 * 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.0007794/0.6723, allocations: 339.8 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.6726, allocations: 110.7 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.6803, allocations: 2.942 MB / 1.242 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.6803, allocations: 19.98 kB / 1.242 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6803, allocations: 4 kB / 1.242 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6804, allocations: 7.969 kB / 1.242 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/0.6901, allocations: 4.532 MB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6902, allocations: 7.891 kB / 1.246 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/0.6923, allocations: 467.4 kB / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/0.6928, allocations: 92.7 kB / 1.247 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.693, allocations: 47.94 kB / 1.247 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.695, allocations: 1.552 MB / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.695, allocations: 64 / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6641/1.359, allocations: 2.705 MB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009012/1.36, allocations: 443.4 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/1.36, allocations: 28.53 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.362, allocations: 310.1 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.362, allocations: 108.7 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.363, allocations: 62.45 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007851/1.363, allocations: 0.5456 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.363, allocations: 0 / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001364/1.365, allocations: 0.4926 MB / 1.253 GB, free: 188.1 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 (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.001449/1.366, allocations: 0.6399 MB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006082/1.372, allocations: 2.567 MB / 1.256 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.372, allocations: 0 / 1.256 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/1.376, allocations: 1.417 MB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.378, allocations: 308.5 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/1.384, allocations: 3.439 MB / 1.261 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/1.385, allocations: 1.162 MB / 1.262 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002263/1.387, allocations: 486.4 kB / 1.262 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/1.388, allocations: 170.1 kB / 1.263 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.388, allocations: 1.828 kB / 1.263 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04176/1.43, allocations: 21.38 MB / 1.283 GB, free: 179.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