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.0009594/0.0009595, allocations: 89.16 kB / 16.02 MB, free: 80 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.001132/0.001132, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 8.219 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007338/0.316, allocations: 5.775 MB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.4746, allocations: 147.3 MB / 1.209 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.476, allocations: 15.94 kB / 1.209 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.477, allocations: 178.5 kB / 1.209 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.4796, allocations: 0.6016 MB / 1.21 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.482, allocations: 0.8715 MB / 1.21 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.4846, allocations: 1.998 MB / 1.212 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.486, allocations: 0.8071 MB / 1.213 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009787/0.487, allocations: 0.5094 MB / 1.214 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.488, allocations: 0.6064 MB / 1.214 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.4883, allocations: 44 kB / 1.214 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.4896, allocations: 0.4956 MB / 1.215 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.49, allocations: 302.6 kB / 1.215 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.491, allocations: 0.6774 MB / 1.216 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.4933, allocations: 1.8 MB / 1.217 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4933, allocations: 0 / 1.217 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4933, allocations: 0 / 1.217 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.074e-05/0.4934, allocations: 0 / 1.217 GB, free: 2.383 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.00385/0.4973, allocations: 1.598 MB / 1.219 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4973, allocations: 8.031 kB / 1.219 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009782/0.5071, allocations: 1.575 MB / 1.221 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.5092, allocations: 1.039 MB / 1.222 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5093, allocations: 94.67 kB / 1.222 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.5098, allocations: 132 kB / 1.222 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006601/0.5164, allocations: 2.334 MB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.5165, allocations: 3.938 kB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.5167, allocations: 60 kB / 1.224 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.5168, allocations: 32 kB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008741/0.5255, allocations: 3.21 MB / 1.227 GB, free: 8.121 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.01059/0.5361, allocations: 5.494 MB / 1.233 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009217/0.5454, allocations: 3.154 MB / 1.236 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/0.5491, allocations: 1.246 MB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.5497, allocations: 0.6103 MB / 1.238 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004166/0.5539, allocations: 1.563 MB / 1.239 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 6.091e-06/0.5539, allocations: 3.984 kB / 1.239 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01241/0.5663, allocations: 3.98 MB / 1.243 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.5665, allocations: 201.2 kB / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5677, allocations: 0.8177 MB / 1.244 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.5679, allocations: 49.7 kB / 1.244 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.5683, allocations: 0.5084 MB / 1.244 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/0.5687, allocations: 437.7 kB / 1.245 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.5689, allocations: 97.67 kB / 1.245 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5691, allocations: 353.9 kB / 1.245 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.5726, allocations: 1.166 MB / 1.246 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/0.5762, allocations: 1.304 MB / 1.248 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006846/0.5831, allocations: 2.294 MB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5831, allocations: 3.938 kB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.5976/1.181, allocations: 2.706 MB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.181, allocations: 5.875 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.181, allocations: 0.9688 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/1.181, allocations: 85.62 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/1.184, allocations: 491.9 kB / 1.253 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/1.186, allocations: 1.538 MB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.189, allocations: 359.5 kB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.189, allocations: 69.75 kB / 1.255 GB, free: 187.7 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.0007841/1.19, allocations: 355.7 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.19, allocations: 116.3 kB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/1.199, allocations: 3.117 MB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.199, allocations: 14.5 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.199, allocations: 1.438 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/1.199, allocations: 7.312 kB / 1.259 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/1.201, allocations: 1.804 MB / 1.26 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.201, allocations: 0.6094 kB / 1.26 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.204, allocations: 470.4 kB / 1.261 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/1.204, allocations: 85.23 kB / 1.261 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.204, allocations: 51.73 kB / 1.261 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.206, allocations: 1.568 MB / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.206, allocations: 3.938 kB / 1.263 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008368/1.214, allocations: 2.806 MB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008247/1.215, allocations: 486.2 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/1.216, allocations: 28.09 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.218, allocations: 306.5 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/1.218, allocations: 103.9 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.218, allocations: 68.33 kB / 1.266 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001045/1.219, allocations: 0.5863 MB / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.219, allocations: 0 / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001566/1.221, allocations: 0.51 MB / 1.267 GB, free: 185.3 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.00165/1.223, allocations: 0.6292 MB / 1.268 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008985/1.232, allocations: 2.76 MB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.232, allocations: 1 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.236, allocations: 1.512 MB / 1.272 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.238, allocations: 325.5 kB / 1.272 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/1.246, allocations: 3.835 MB / 1.276 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/1.247, allocations: 1.195 MB / 1.277 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.248, allocations: 201.7 kB / 1.277 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.248, allocations: 0 / 1.277 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04245/1.291, allocations: 30.55 MB / 1.307 GB, free: 163.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches