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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 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.002133/0.002133, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.05 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006369/0.3496, allocations: 4.525 MB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.5117, allocations: 150.6 MB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009229/0.5127, allocations: 15.94 kB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.5134, allocations: 170.3 kB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.5153, allocations: 0.5084 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.5174, allocations: 0.7511 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5189, allocations: 1.238 MB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.5197, allocations: 0.4986 MB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.5204, allocations: 406.6 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.521, allocations: 426.1 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.5213, allocations: 100 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.5221, allocations: 367.7 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.5224, allocations: 263.1 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.523, allocations: 481.5 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.5247, allocations: 1.371 MB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5247, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5247, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.577e-05/0.5247, allocations: 0 / 1.226 GB, free: 8.203 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.002606/0.5273, allocations: 1.277 MB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5274, allocations: 12.03 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.5278, allocations: 111.6 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5288, allocations: 0.6839 MB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.5289, allocations: 54 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.529, allocations: 67.94 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5302, allocations: 0.7759 MB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5302, allocations: 4 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.5303, allocations: 32 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.5303, allocations: 16 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5316, allocations: 0.9689 MB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.5349, allocations: 2.486 MB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5361, allocations: 0.6876 MB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.5365, allocations: 255.3 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/0.5366, allocations: 24.52 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006454/0.5372, allocations: 418.3 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/0.5372, allocations: 0 / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001502/0.5387, allocations: 0.8351 MB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5389, allocations: 251.8 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.5397, allocations: 0.6369 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.5398, allocations: 37.7 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.5401, allocations: 360.4 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.5402, allocations: 224.8 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.5405, allocations: 150.5 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5407, allocations: 387 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.541, allocations: 225.8 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.5415, allocations: 333.4 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.5423, allocations: 0.5173 MB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5424, allocations: 0 / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001181/0.5435, allocations: 0.6799 MB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5436, allocations: 8 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5436, allocations: 160 / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5436, allocations: 11.98 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.5442, allocations: 151.7 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.5442, allocations: 7.938 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.5449, allocations: 88.73 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.5449, allocations: 31.97 kB / 1.238 GB, free: 11.05 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.0003737/0.5453, allocations: 259.4 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.5455, allocations: 79.05 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.547, allocations: 0.8485 MB / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.5471, allocations: 8 kB / 1.24 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5471, allocations: 3.938 kB / 1.24 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5471, allocations: 7.984 kB / 1.24 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5482, allocations: 0.9598 MB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5483, allocations: 0 / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.5487, allocations: 127.8 kB / 1.241 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5487, allocations: 7.938 kB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.5488, allocations: 19.98 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5488, allocations: 8.031 kB / 1.241 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5488, allocations: 0 / 1.241 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5499, allocations: 0.7354 MB / 1.241 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.5503, allocations: 255.8 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5505, allocations: 20 kB / 1.242 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.551, allocations: 55.94 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5511, allocations: 56.58 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.5512, allocations: 31.97 kB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000581/0.5518, allocations: 459 kB / 1.242 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5518, allocations: 0 / 1.242 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008458/0.5527, allocations: 283.3 kB / 1.243 GB, free: 6.742 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.001516/0.5542, allocations: 0.5999 MB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.5559, allocations: 0.759 MB / 1.244 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5559, allocations: 7.984 kB / 1.244 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.5564, allocations: 323.6 kB / 1.244 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5575, allocations: 277.5 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.56, allocations: 1.432 MB / 1.246 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.5606, allocations: 0.9797 MB / 1.247 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007405/0.5614, allocations: 246.3 kB / 1.247 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.5616, allocations: 103.3 kB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.5616, allocations: 0 / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.5383/1.1, allocations: 12.71 MB / 1.26 GB, free: 182.8 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