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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001163/0.001163, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001204/0.001204, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005661/0.8556, allocations: 4.267 MB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1967/1.052, allocations: 150.5 MB / 1.24 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/1.054, allocations: 20 kB / 1.24 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007314/1.054, allocations: 172.4 kB / 1.24 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/1.057, allocations: 498.1 kB / 1.24 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/1.059, allocations: 0.7574 MB / 1.241 GB, free: 4 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001792/1.061, allocations: 1.211 MB / 1.242 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008341/1.062, allocations: 0.5028 MB / 1.243 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/1.062, allocations: 407.2 kB / 1.243 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/1.063, allocations: 429.5 kB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/1.063, allocations: 97.47 kB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/1.064, allocations: 404.6 kB / 1.244 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/1.064, allocations: 252.8 kB / 1.244 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/1.065, allocations: 479.5 kB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/1.066, allocations: 1.399 MB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.066, allocations: 0 / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.396e-06/1.066, allocations: 0 / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.473e-05/1.066, allocations: 3.938 kB / 1.246 GB, free: 12.4 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.002183/1.069, allocations: 1.269 MB / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.069, allocations: 11.97 kB / 1.247 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/1.069, allocations: 103.7 kB / 1.247 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.07, allocations: 0.715 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/1.07, allocations: 50 kB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/1.07, allocations: 72 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/1.071, allocations: 0.7759 MB / 1.249 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.072, allocations: 0 / 1.249 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/1.072, allocations: 32 kB / 1.249 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/1.072, allocations: 16 kB / 1.249 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/1.073, allocations: 0.9727 MB / 1.25 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/1.076, allocations: 2.458 MB / 1.252 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.077, allocations: 0.6798 MB / 1.253 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/1.078, allocations: 247.3 kB / 1.253 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/1.078, allocations: 28.52 kB / 1.253 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/1.078, allocations: 423.6 kB / 1.254 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/1.078, allocations: 0 / 1.254 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001498/1.08, allocations: 0.8376 MB / 1.255 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.08, allocations: 251.8 kB / 1.255 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/1.081, allocations: 0.6292 MB / 1.255 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/1.081, allocations: 37.7 kB / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/1.081, allocations: 364.4 kB / 1.256 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/1.081, allocations: 220.8 kB / 1.256 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.082, allocations: 154.6 kB / 1.256 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.082, allocations: 386.8 kB / 1.257 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/1.082, allocations: 217.9 kB / 1.257 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/1.083, allocations: 333.4 kB / 1.257 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/1.083, allocations: 0.5173 MB / 1.258 GB, free: 248 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.083, allocations: 4 kB / 1.258 GB, free: 244 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001136/1.085, allocations: 0.6802 MB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.085, allocations: 14.36 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.085, allocations: 8.109 kB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.085, allocations: 7.938 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/1.085, allocations: 147.7 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.085, allocations: 11.92 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/1.086, allocations: 83.39 kB / 1.259 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/1.086, allocations: 31.97 kB / 1.259 GB, free: 15.25 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.0003645/1.086, allocations: 263.4 kB / 1.259 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.086, allocations: 79.06 kB / 1.259 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/1.088, allocations: 0.8445 MB / 1.26 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.088, allocations: 8 kB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.088, allocations: 11.92 kB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.088, allocations: 7.922 kB / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.089, allocations: 0.952 MB / 1.261 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.089, allocations: 4.031 kB / 1.261 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/1.089, allocations: 123.8 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/1.089, allocations: 7.938 kB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/1.089, allocations: 23.98 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.089, allocations: 4 kB / 1.261 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.089, allocations: 0 / 1.261 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.091, allocations: 0.7393 MB / 1.262 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/1.091, allocations: 259.8 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.091, allocations: 20 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/1.091, allocations: 55.94 kB / 1.262 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.092, allocations: 56.58 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/1.092, allocations: 31.97 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005126/1.092, allocations: 451 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.092, allocations: 4 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006904/1.093, allocations: 267.5 kB / 1.263 GB, free: 10.95 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.001342/1.094, allocations: 0.6055 MB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009714/1.095, allocations: 0.5794 MB / 1.264 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.095, allocations: 4 kB / 1.264 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000442/1.096, allocations: 319.9 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.097, allocations: 276 kB / 1.264 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/1.099, allocations: 1.453 MB / 1.266 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/1.099, allocations: 0.9757 MB / 1.267 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/1.1, allocations: 107.4 kB / 1.267 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.1, allocations: 0 / 1.267 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.01916/1.119, allocations: 13.48 MB / 1.28 GB, free: 9.336 MB / 1.014 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/jenkins1/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