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.00101/0.00101, allocations: 98.19 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.008286/0.008287, allocations: 170 kB / 16.27 MB, free: 6.652 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.403/1.403, 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.0-master/package.mo): time 2.829/2.829, allocations: 462.6 MB / 0.7363 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.0005419, allocations: 8.219 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007335/0.3713, allocations: 5.783 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.5401, allocations: 147.3 MB / 1.208 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.5416, allocations: 23.88 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.5427, allocations: 174.6 kB / 1.208 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.5455, allocations: 0.6041 MB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.5481, allocations: 0.8696 MB / 1.21 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.551, allocations: 1.998 MB / 1.212 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.5525, allocations: 0.8072 MB / 1.212 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5536, allocations: 0.5132 MB / 1.213 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.5548, allocations: 0.6064 MB / 1.214 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.5552, allocations: 40 kB / 1.214 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5567, allocations: 0.4956 MB / 1.214 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.5572, allocations: 298.7 kB / 1.214 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.5582, allocations: 0.6891 MB / 1.215 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.5612, allocations: 2.246 MB / 1.217 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5612, allocations: 0 / 1.217 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5612, allocations: 0 / 1.217 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.9e-05/0.5613, allocations: 0 / 1.217 GB, free: 1.961 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.004025/0.5653, allocations: 1.606 MB / 1.219 GB, free: 304 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5654, allocations: 8.031 kB / 1.219 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.5755, allocations: 1.579 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.5775, allocations: 1.028 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.5776, allocations: 106.6 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.578, allocations: 128 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/0.5846, allocations: 2.334 MB / 1.224 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.5846, allocations: 3.938 kB / 1.224 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.5849, allocations: 52 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.5849, allocations: 32 kB / 1.224 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.5937, allocations: 3.214 MB / 1.227 GB, free: 7.699 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.01063/0.6044, allocations: 5.485 MB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/0.6135, allocations: 3.165 MB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/0.6172, allocations: 1.234 MB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007791/0.618, allocations: 0.6143 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004382/0.6224, allocations: 1.567 MB / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.839e-06/0.6224, allocations: 0 / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01255/0.635, allocations: 3.98 MB / 1.243 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6351, allocations: 193.2 kB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.6365, allocations: 0.8138 MB / 1.244 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.6367, allocations: 53.7 kB / 1.244 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.6372, allocations: 0.5084 MB / 1.244 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.6376, allocations: 429.7 kB / 1.245 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.6378, allocations: 101.7 kB / 1.245 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.638, allocations: 357.9 kB / 1.245 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.6415, allocations: 1.166 MB / 1.246 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.6451, allocations: 1.3 MB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/0.652, allocations: 2.294 MB / 1.25 GB, free: 0 / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.6895/1.342, allocations: 208 / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.009623/1.351, allocations: 2.716 MB / 1.252 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.351, allocations: 6.844 kB / 1.252 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.351, allocations: 4.875 kB / 1.252 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.352, allocations: 83.02 kB / 1.252 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.355, allocations: 492.8 kB / 1.253 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/1.356, allocations: 1.551 MB / 1.254 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.359, allocations: 356.7 kB / 1.255 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.359, allocations: 64.78 kB / 1.255 GB, free: 188 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.0007022/1.36, allocations: 355 kB / 1.255 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.36, allocations: 120 kB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/1.369, allocations: 3.104 MB / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.369, allocations: 13.84 kB / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.369, allocations: 9.156 kB / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.369, allocations: 11.16 kB / 1.258 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/1.371, allocations: 1.811 MB / 1.26 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.371, allocations: 0 / 1.26 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.374, allocations: 471.1 kB / 1.261 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/1.374, allocations: 90 kB / 1.261 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.374, allocations: 49.34 kB / 1.261 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.376, allocations: 1.555 MB / 1.262 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.376, allocations: 3.938 kB / 1.262 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009221/1.385, allocations: 2.808 MB / 1.265 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.387, allocations: 487.5 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/1.387, allocations: 30.2 kB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.39, allocations: 304.3 kB / 1.266 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/1.39, allocations: 108.4 kB / 1.266 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.39, allocations: 64.33 kB / 1.266 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001292/1.392, allocations: 0.5799 MB / 1.266 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.392, allocations: 0 / 1.266 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0021/1.394, allocations: 0.5126 MB / 1.267 GB, free: 185.6 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.001903/1.396, allocations: 0.6433 MB / 1.268 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009099/1.405, allocations: 2.76 MB / 1.27 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.405, allocations: 1.031 kB / 1.27 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004348/1.409, allocations: 1.512 MB / 1.272 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.411, allocations: 328.5 kB / 1.272 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/1.419, allocations: 3.783 MB / 1.276 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/1.419, allocations: 1.188 MB / 1.277 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002445/1.422, allocations: 490.8 kB / 1.277 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/1.423, allocations: 169.8 kB / 1.278 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.382e-06/1.423, allocations: 4.781 kB / 1.278 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04257/1.465, allocations: 23.16 MB / 1.3 GB, free: 170 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