Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001764/0.001763, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.7 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.23 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3349, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.007256/0.3422, allocations: 4.539 MB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1682/0.5104, allocations: 148.3 MB / 1.217 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5115, allocations: 15.94 kB / 1.217 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008561/0.5124, allocations: 138.9 kB / 1.217 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.5147, allocations: 445.6 kB / 1.218 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5168, allocations: 0.6865 MB / 1.218 GB, free: 36 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.5187, allocations: 1.246 MB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5198, allocations: 0.4889 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/0.5206, allocations: 410.5 kB / 1.22 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.5214, allocations: 430.1 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.5217, allocations: 96 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/0.5226, allocations: 379.7 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.5229, allocations: 267 kB / 1.221 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.5235, allocations: 481.5 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.5255, allocations: 1.367 MB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5255, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5255, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.927e-05/0.5256, allocations: 0 / 1.223 GB, free: 10.88 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00284/0.5284, allocations: 1.277 MB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5285, allocations: 12.03 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.5289, allocations: 111.6 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5301, allocations: 0.6839 MB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.5302, allocations: 54 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.5303, allocations: 71.94 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5317, allocations: 0.7759 MB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5317, allocations: 3.984 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.5318, allocations: 32 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.5319, allocations: 16 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.5333, allocations: 0.9689 MB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.5375, allocations: 2.482 MB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5388, allocations: 0.6799 MB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.5393, allocations: 251.3 kB / 1.23 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.5394, allocations: 32.48 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008855/0.5402, allocations: 430.2 kB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.985e-06/0.5403, allocations: 0 / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001661/0.5419, allocations: 0.8311 MB / 1.232 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.5421, allocations: 247.8 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.543, allocations: 0.6331 MB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.5432, allocations: 37.7 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5435, allocations: 352.5 kB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.5438, allocations: 236.9 kB / 1.233 GB, free: 360 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.544, allocations: 150.5 kB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5443, allocations: 382.9 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.5447, allocations: 225.8 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.5452, allocations: 337.3 kB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.5461, allocations: 0.5134 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5461, allocations: 3.984 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001266/0.5474, allocations: 0.6838 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5474, allocations: 9.094 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5475, allocations: 0 / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5475, allocations: 4 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.5481, allocations: 151.8 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.5481, allocations: 7.938 kB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.5488, allocations: 91.39 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.5489, allocations: 36.09 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004087/0.5493, allocations: 260.9 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.5495, allocations: 75.06 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.5513, allocations: 0.8407 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.5513, allocations: 8 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5513, allocations: 3.938 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.5513, allocations: 3.984 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5526, allocations: 0.9675 MB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.5526, allocations: 4 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.5531, allocations: 131.8 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.5531, allocations: 7.938 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.5532, allocations: 19.98 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.5532, allocations: 4 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5532, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5545, allocations: 0.7315 MB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.5548, allocations: 259.8 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.555, allocations: 24 kB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.5555, allocations: 53.81 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.5557, allocations: 60.52 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.5558, allocations: 31.97 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006698/0.5565, allocations: 459 kB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5565, allocations: 3.938 kB / 1.24 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009203/0.5574, allocations: 283.3 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.5589, allocations: 0.5865 MB / 1.24 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.5606, allocations: 0.7551 MB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5606, allocations: 4 kB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.5611, allocations: 323.6 kB / 1.241 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.5624, allocations: 273.8 kB / 1.242 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.5653, allocations: 1.768 MB / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.5659, allocations: 0.9803 MB / 1.244 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008521/0.5668, allocations: 258.1 kB / 1.245 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5671, allocations: 99.39 kB / 1.245 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.5671, allocations: 0 / 1.245 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of Templates: time 0.5035/1.071, allocations: 12.6 MB / 1.257 GB, free: 182.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches