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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 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.001311/0.001311, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.36 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3416, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008185/0.3498, allocations: 6.239 MB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1648/0.5146, allocations: 151.6 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.5159, allocations: 19.88 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009028/0.5168, allocations: 233.7 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.5197, allocations: 0.7049 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5225, allocations: 0.9885 MB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.525, allocations: 2.041 MB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.5262, allocations: 0.8602 MB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009567/0.5272, allocations: 0.7282 MB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.5281, allocations: 0.7976 MB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.5283, allocations: 192 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5294, allocations: 0.6441 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.5299, allocations: 486.5 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.5306, allocations: 0.8515 MB / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.533, allocations: 2.419 MB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.533, allocations: 4 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5331, allocations: 0 / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.5331, allocations: 0 / 1.233 GB, free: 0.9766 MB / 0.9825 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.003366/0.5365, allocations: 1.914 MB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5365, allocations: 8.031 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00948/0.546, allocations: 1.282 MB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.5479, allocations: 1.032 MB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.548, allocations: 102.7 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.5483, allocations: 128 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.5537, allocations: 2.209 MB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.5538, allocations: 4 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5539, allocations: 56 kB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.554, allocations: 32 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008275/0.5623, allocations: 2.968 MB / 1.242 GB, free: 7.07 MB / 0.9981 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.009587/0.5719, allocations: 5.404 MB / 1.248 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5684/1.14, allocations: 2.874 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.144, allocations: 1.124 MB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/1.144, allocations: 0.6116 MB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003975/1.148, allocations: 1.448 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/1.148, allocations: 0 / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01278/1.161, allocations: 3.629 MB / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/1.161, allocations: 195.4 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.163, allocations: 0.8175 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.163, allocations: 54.72 kB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/1.163, allocations: 0.5081 MB / 1.259 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/1.164, allocations: 437.2 kB / 1.259 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/1.164, allocations: 267.9 kB / 1.259 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/1.164, allocations: 356.7 kB / 1.26 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.168, allocations: 1.05 MB / 1.261 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/1.171, allocations: 1.187 MB / 1.262 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/1.177, allocations: 2.062 MB / 1.264 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.177, allocations: 0 / 1.264 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007966/1.185, allocations: 2.488 MB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.185, allocations: 7.062 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.185, allocations: 1.094 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/1.186, allocations: 88.97 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.188, allocations: 431 kB / 1.267 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/1.191, allocations: 1.657 MB / 1.269 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.193, allocations: 288.4 kB / 1.269 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.193, allocations: 66.94 kB / 1.269 GB, free: 176.2 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.0007906/1.194, allocations: 356.9 kB / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/1.194, allocations: 118.8 kB / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009544/1.204, allocations: 2.876 MB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.204, allocations: 15.22 kB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.204, allocations: 3.938 kB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/1.204, allocations: 8.359 kB / 1.272 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/1.206, allocations: 1.806 MB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.207, allocations: 1.781 kB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.209, allocations: 408.1 kB / 1.274 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/1.209, allocations: 80.89 kB / 1.274 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/1.21, allocations: 51.67 kB / 1.274 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.211, allocations: 1.678 MB / 1.276 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.211, allocations: 0 / 1.276 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/1.219, allocations: 2.576 MB / 1.279 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.22, allocations: 464.3 kB / 1.279 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.22, allocations: 38.86 kB / 1.279 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.222, allocations: 225.2 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.223, allocations: 108.4 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.223, allocations: 62.48 kB / 1.279 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007937/1.223, allocations: 0.5851 MB / 1.28 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.223, allocations: 0 / 1.28 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001455/1.225, allocations: 0.5109 MB / 1.281 GB, free: 171 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.001506/1.226, allocations: 0.6394 MB / 1.281 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009612/1.236, allocations: 3.107 MB / 1.284 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.236, allocations: 0 / 1.284 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003987/1.24, allocations: 1.403 MB / 1.286 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.242, allocations: 356.9 kB / 1.286 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/1.248, allocations: 3.044 MB / 1.289 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/1.249, allocations: 1.195 MB / 1.29 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001999/1.251, allocations: 489.5 kB / 1.29 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/1.252, allocations: 169.2 kB / 1.291 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.252, allocations: 1.094 kB / 1.291 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03382/1.286, allocations: 24.35 MB / 1.314 GB, free: 147.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