Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005599, allocations: 11.98 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8629, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.003757/0.8667, allocations: 3.665 MB / 0.958 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1688/1.035, allocations: 136.7 MB / 1.092 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.037, allocations: 19.88 kB / 1.092 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007858/1.038, allocations: 123 kB / 1.092 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/1.04, allocations: 401.5 kB / 1.092 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/1.041, allocations: 0.5669 MB / 1.093 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001666/1.043, allocations: 1.027 MB / 1.094 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009118/1.044, allocations: 369.7 kB / 1.094 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/1.045, allocations: 290.7 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/1.045, allocations: 322.4 kB / 1.095 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/1.046, allocations: 24 kB / 1.095 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/1.046, allocations: 271.7 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/1.047, allocations: 163.3 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002555/1.047, allocations: 169.3 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/1.048, allocations: 1.005 MB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.048, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/1.048, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.743e-05/1.048, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 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.002896/1.051, allocations: 1.102 MB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.051, allocations: 8.031 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/1.052, allocations: 106.8 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.054, allocations: 0.6603 MB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/1.054, allocations: 50 kB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.054, allocations: 68 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/1.056, allocations: 0.772 MB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.056, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.606e-05/1.056, allocations: 35.95 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/1.056, allocations: 16 kB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/1.058, allocations: 0.965 MB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/1.062, allocations: 2.509 MB / 1.102 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.064, allocations: 0.6721 MB / 1.103 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/1.064, allocations: 247.4 kB / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/1.064, allocations: 40.44 kB / 1.103 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007305/1.065, allocations: 415.6 kB / 1.104 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/1.065, allocations: 0 / 1.104 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.001574/1.066, allocations: 0.8298 MB / 1.104 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.067, allocations: 244 kB / 1.105 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008846/1.067, allocations: 0.6254 MB / 1.105 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/1.068, allocations: 37.7 kB / 1.105 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/1.068, allocations: 364.4 kB / 1.106 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.068, allocations: 220.8 kB / 1.106 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/1.068, allocations: 16 kB / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.068, allocations: 382.8 kB / 1.106 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/1.069, allocations: 221.8 kB / 1.106 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/1.069, allocations: 329.4 kB / 1.107 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/1.07, allocations: 259.2 kB / 1.107 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.07, allocations: 0 / 1.107 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001154/1.071, allocations: 0.6837 MB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.071, allocations: 4 kB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.071, allocations: 0 / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.071, allocations: 4 kB / 1.108 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/1.071, allocations: 151.7 kB / 1.108 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.071, allocations: 7.984 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/1.072, allocations: 95.55 kB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/1.072, allocations: 35.94 kB / 1.108 GB, free: 1.469 MB / 0.8575 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003829/1.073, allocations: 257.4 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.073, allocations: 79.06 kB / 1.108 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/1.074, allocations: 0.86 MB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.074, allocations: 8 kB / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.074, allocations: 0 / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.074, allocations: 11.98 kB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/1.076, allocations: 0.9637 MB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.076, allocations: 0 / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/1.076, allocations: 119.8 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/1.076, allocations: 7.984 kB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/1.076, allocations: 23.98 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.076, allocations: 4 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.076, allocations: 3.938 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.077, allocations: 0.7354 MB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/1.078, allocations: 267.8 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.078, allocations: 24 kB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/1.078, allocations: 75.88 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.078, allocations: 60.56 kB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/1.078, allocations: 31.94 kB / 1.111 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000573/1.079, allocations: 451 kB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009751/1.08, allocations: 263.4 kB / 1.112 GB, free: 13.14 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/1.082, allocations: 0.6043 MB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.083, allocations: 0.5716 MB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.083, allocations: 4 kB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/1.083, allocations: 319.6 kB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.084, allocations: 235.7 kB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/1.087, allocations: 1.718 MB / 1.115 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/1.088, allocations: 0.9779 MB / 1.116 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000741/1.088, allocations: 246.3 kB / 1.117 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.089, allocations: 99.39 kB / 1.117 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of SimCode: time 6.92e-07/1.089, allocations: 0 / 1.117 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of Templates: time 0.02176/1.11, allocations: 11.46 MB / 1.128 GB, free: 13.19 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches