Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104 kB / 16.27 MB, free: 6.414 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.001318/0.001318, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 69.28 kB / 0.9245 GB, free: 28 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.8014, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006854/0.8083, allocations: 4.507 MB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2022/1.011, allocations: 150.6 MB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/1.012, allocations: 15.94 kB / 1.234 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006852/1.013, allocations: 174.3 kB / 1.235 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/1.015, allocations: 0.5044 MB / 1.235 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/1.017, allocations: 0.7496 MB / 1.236 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001687/1.019, allocations: 1.238 MB / 1.237 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/1.02, allocations: 498.6 kB / 1.237 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/1.02, allocations: 410.5 kB / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/1.021, allocations: 434.1 kB / 1.238 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/1.021, allocations: 96 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008944/1.022, allocations: 375.7 kB / 1.239 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/1.022, allocations: 255.2 kB / 1.239 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004753/1.023, allocations: 485.5 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/1.024, allocations: 1.375 MB / 1.241 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.024, allocations: 0 / 1.241 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/1.025, allocations: 0 / 1.241 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.025, allocations: 0 / 1.241 GB, free: 12.82 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002423/1.027, allocations: 1.273 MB / 1.242 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.027, allocations: 8.031 kB / 1.242 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/1.027, allocations: 111.6 kB / 1.242 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.028, allocations: 0.6956 MB / 1.243 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/1.028, allocations: 50 kB / 1.243 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/1.029, allocations: 67.94 kB / 1.243 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.03, allocations: 0.776 MB / 1.244 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.03, allocations: 4 kB / 1.244 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/1.03, allocations: 28 kB / 1.244 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.03, allocations: 16 kB / 1.244 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.031, allocations: 0.9766 MB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/1.035, allocations: 2.485 MB / 1.247 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/1.036, allocations: 0.6876 MB / 1.248 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/1.037, allocations: 247.3 kB / 1.248 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/1.037, allocations: 36.5 kB / 1.248 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/1.038, allocations: 422.3 kB / 1.248 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.594e-06/1.038, allocations: 0 / 1.248 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001695/1.039, allocations: 0.8312 MB / 1.249 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/1.04, allocations: 251.8 kB / 1.249 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/1.041, allocations: 0.6253 MB / 1.25 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/1.041, allocations: 41.83 kB / 1.25 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/1.041, allocations: 360.5 kB / 1.25 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/1.041, allocations: 228.7 kB / 1.251 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.041, allocations: 150.5 kB / 1.251 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002281/1.042, allocations: 386.8 kB / 1.251 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/1.042, allocations: 221.9 kB / 1.251 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/1.043, allocations: 329.4 kB / 1.252 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/1.044, allocations: 0.5212 MB / 1.252 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.044, allocations: 0 / 1.252 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001295/1.045, allocations: 0.6877 MB / 1.253 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.045, allocations: 4 kB / 1.253 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.045, allocations: 8.047 kB / 1.253 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.045, allocations: 11.88 kB / 1.253 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/1.046, allocations: 139.8 kB / 1.253 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.046, allocations: 7.938 kB / 1.253 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/1.046, allocations: 87.55 kB / 1.253 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/1.046, allocations: 39.97 kB / 1.253 GB, free: 15.64 MB / 0.9825 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.0004405/1.047, allocations: 251.4 kB / 1.253 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.047, allocations: 79.06 kB / 1.254 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/1.049, allocations: 0.8486 MB / 1.254 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.049, allocations: 8 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.049, allocations: 3.938 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.049, allocations: 3.984 kB / 1.254 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.05, allocations: 0.9676 MB / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.05, allocations: 0 / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/1.05, allocations: 123.8 kB / 1.255 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/1.05, allocations: 3.938 kB / 1.255 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/1.051, allocations: 23.97 kB / 1.255 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.051, allocations: 4 kB / 1.255 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.051, allocations: 0 / 1.255 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.052, allocations: 0.7471 MB / 1.256 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/1.052, allocations: 259.8 kB / 1.256 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.052, allocations: 16 kB / 1.256 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/1.053, allocations: 58.59 kB / 1.256 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.053, allocations: 60.56 kB / 1.257 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/1.053, allocations: 31.98 kB / 1.257 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006118/1.054, allocations: 459 kB / 1.257 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.054, allocations: 0 / 1.257 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008062/1.055, allocations: 271.4 kB / 1.257 GB, free: 11.34 MB / 0.9825 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.001998/1.057, allocations: 0.6096 MB / 1.258 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.058, allocations: 0.7473 MB / 1.259 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.058, allocations: 0 / 1.259 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/1.059, allocations: 327.9 kB / 1.259 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.06, allocations: 274.3 kB / 1.259 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.063, allocations: 1.489 MB / 1.261 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/1.064, allocations: 0.9758 MB / 1.262 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/1.064, allocations: 103.4 kB / 1.262 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/1.064, allocations: 0 / 1.262 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.02359/1.088, allocations: 13.48 MB / 1.275 GB, free: 9.535 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul