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.001318/0.001318, allocations: 100.1 kB / 15.88 MB, free: 12 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.001451/0.001451, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 65.67 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3028, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008048/0.3109, allocations: 5.824 MB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1567/0.4676, allocations: 149 MB / 1.204 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.4689, allocations: 23.88 kB / 1.204 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4701, allocations: 166.7 kB / 1.204 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.4727, allocations: 0.5662 MB / 1.205 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.4756, allocations: 0.8511 MB / 1.206 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.4789, allocations: 1.874 MB / 1.207 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.4804, allocations: 0.7433 MB / 1.208 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.4817, allocations: 0.5876 MB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.4831, allocations: 0.7002 MB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005118/0.4836, allocations: 80 kB / 1.209 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.4851, allocations: 0.5346 MB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006342/0.4858, allocations: 362.7 kB / 1.21 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.4871, allocations: 0.6993 MB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.4895, allocations: 1.618 MB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4895, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.11e-07/0.4895, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-05/0.4896, allocations: 0 / 1.213 GB, free: 4.07 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.004669/0.4943, allocations: 1.826 MB / 1.214 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4943, allocations: 12.03 kB / 1.214 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009421/0.5038, allocations: 1.271 MB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.506, allocations: 0.9574 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.5061, allocations: 98.44 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.5066, allocations: 116 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.5127, allocations: 2.034 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.5128, allocations: 0 / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.5131, allocations: 56 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.5131, allocations: 28 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008192/0.5213, allocations: 2.76 MB / 1.221 GB, free: 10.73 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.0107/0.5321, allocations: 4.736 MB / 1.226 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/0.5403, allocations: 2.734 MB / 1.229 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.5434, allocations: 1.043 MB / 1.23 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.544, allocations: 0.614 MB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003877/0.5479, allocations: 1.348 MB / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 5.049e-06/0.5479, allocations: 0 / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01142/0.5594, allocations: 3.387 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.5595, allocations: 197.2 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5608, allocations: 0.7706 MB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.5611, allocations: 49.7 kB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.5616, allocations: 484.9 kB / 1.236 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/0.5621, allocations: 429.8 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006338/0.5627, allocations: 274.6 kB / 1.237 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5629, allocations: 357.9 kB / 1.237 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.566, allocations: 0.9587 MB / 1.238 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.5692, allocations: 1.097 MB / 1.239 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.5751, allocations: 1.934 MB / 1.241 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5751, allocations: 0 / 1.241 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007557/0.5827, allocations: 2.315 MB / 1.244 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.5827, allocations: 8 kB / 1.244 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5828, allocations: 64 / 1.244 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.5834, allocations: 84.77 kB / 1.244 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.586, allocations: 435.3 kB / 1.244 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.5883, allocations: 1.532 MB / 1.246 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.5908, allocations: 294.6 kB / 1.246 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.5911, allocations: 67.91 kB / 1.246 GB, free: 1.012 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.0009303/0.592, allocations: 339.7 kB / 1.246 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.5925, allocations: 110.7 kB / 1.246 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.535/1.128, allocations: 2.723 MB / 1.249 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/1.128, allocations: 18.31 kB / 1.249 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.128, allocations: 0 / 1.249 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.128, allocations: 8.453 kB / 1.249 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009695/1.137, allocations: 4.293 MB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.137, allocations: 7.703 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.14, allocations: 410.5 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/1.14, allocations: 83.94 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/1.14, allocations: 49.47 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.142, allocations: 1.56 MB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.142, allocations: 3.828 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/1.149, allocations: 2.487 MB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/1.15, allocations: 426.6 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/1.15, allocations: 31.83 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.153, allocations: 236 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.153, allocations: 100.3 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.153, allocations: 65.75 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008038/1.154, allocations: 0.5503 MB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.154, allocations: 2.844 kB / 1.259 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001463/1.155, allocations: 0.492 MB / 1.26 GB, free: 190.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.001658/1.157, allocations: 0.6478 MB / 1.26 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007821/1.165, allocations: 2.344 MB / 1.263 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.165, allocations: 0.5625 kB / 1.263 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004031/1.169, allocations: 1.314 MB / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.171, allocations: 315.3 kB / 1.264 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/1.179, allocations: 3.44 MB / 1.267 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000974/1.18, allocations: 1.167 MB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.181, allocations: 194.4 kB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.181, allocations: 0 / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04128/1.223, allocations: 28.49 MB / 1.297 GB, free: 173 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/jenkins1/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