Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.002483/0.002482, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.551/1.551, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 64.11 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.8799, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006505/0.8865, allocations: 4.532 MB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1725/1.059, allocations: 150.6 MB / 1.36 GB, free: 2.047 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/1.06, allocations: 19.88 kB / 1.36 GB, free: 2.027 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000857/1.061, allocations: 174.4 kB / 1.36 GB, free: 1.855 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/1.063, allocations: 0.5156 MB / 1.361 GB, free: 1.344 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/1.066, allocations: 0.7574 MB / 1.361 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001727/1.067, allocations: 1.254 MB / 1.362 GB, free: 15.33 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/1.068, allocations: 498.6 kB / 1.363 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/1.069, allocations: 414.5 kB / 1.363 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/1.07, allocations: 430.1 kB / 1.364 GB, free: 14 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/1.07, allocations: 103.9 kB / 1.364 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009068/1.071, allocations: 391.7 kB / 1.364 GB, free: 13.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/1.071, allocations: 255.2 kB / 1.364 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006179/1.072, allocations: 489.4 kB / 1.365 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/1.074, allocations: 1.406 MB / 1.366 GB, free: 11.37 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.074, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.734e-06/1.074, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.209e-05/1.074, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.092 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.002653/1.077, allocations: 1.277 MB / 1.368 GB, free: 10.04 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.077, allocations: 15.97 kB / 1.368 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/1.077, allocations: 107.6 kB / 1.368 GB, free: 9.922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.078, allocations: 0.7228 MB / 1.368 GB, free: 9.156 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/1.078, allocations: 50 kB / 1.368 GB, free: 9.109 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/1.078, allocations: 68 kB / 1.369 GB, free: 9.043 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.08, allocations: 0.7721 MB / 1.369 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/1.08, allocations: 7.938 kB / 1.369 GB, free: 8.207 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/1.08, allocations: 28 kB / 1.369 GB, free: 8.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/1.08, allocations: 16 kB / 1.369 GB, free: 8.164 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/1.081, allocations: 0.9767 MB / 1.37 GB, free: 7.184 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/1.085, allocations: 2.458 MB / 1.373 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.086, allocations: 0.676 MB / 1.373 GB, free: 3.953 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/1.087, allocations: 251.3 kB / 1.374 GB, free: 3.703 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/1.087, allocations: 24.52 kB / 1.374 GB, free: 3.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000653/1.087, allocations: 434.3 kB / 1.374 GB, free: 3.234 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/1.087, allocations: 0 / 1.374 GB, free: 3.234 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.001512/1.089, allocations: 0.8311 MB / 1.375 GB, free: 2.398 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.089, allocations: 251.8 kB / 1.375 GB, free: 2.098 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007998/1.09, allocations: 0.6214 MB / 1.376 GB, free: 1.469 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/1.09, allocations: 45.8 kB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/1.09, allocations: 360.4 kB / 1.376 GB, free: 1.062 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.09, allocations: 224.9 kB / 1.376 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/1.091, allocations: 158.5 kB / 1.376 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.091, allocations: 382.8 kB / 1.377 GB, free: 304 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/1.091, allocations: 217.9 kB / 1.377 GB, free: 88 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/1.092, allocations: 333.4 kB / 1.377 GB, free: 15.74 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/1.092, allocations: 0.5289 MB / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.092, allocations: 0 / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00118/1.094, allocations: 0.6839 MB / 1.378 GB, free: 14.5 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.094, allocations: 4 kB / 1.378 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.094, allocations: 7.984 kB / 1.378 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.094, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/1.094, allocations: 139.8 kB / 1.379 GB, free: 14.35 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/1.094, allocations: 7.938 kB / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/1.095, allocations: 85.11 kB / 1.379 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/1.095, allocations: 39.97 kB / 1.379 GB, free: 14.22 MB / 1.107 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.000381/1.095, allocations: 255.4 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.096, allocations: 79.06 kB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/1.097, allocations: 0.8447 MB / 1.38 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.097, allocations: 8 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.097, allocations: 3.938 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.097, allocations: 7.922 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.098, allocations: 0.9675 MB / 1.381 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.098, allocations: 8.031 kB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/1.099, allocations: 119.9 kB / 1.381 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.099, allocations: 7.875 kB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/1.099, allocations: 19.98 kB / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.099, allocations: 4 kB / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.099, allocations: 0 / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.1, allocations: 0.7393 MB / 1.382 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/1.1, allocations: 263.8 kB / 1.382 GB, free: 10.78 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.1, allocations: 16 kB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/1.101, allocations: 51.94 kB / 1.382 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.101, allocations: 56.58 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/1.101, allocations: 35.97 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005558/1.102, allocations: 455 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.102, allocations: 4 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007612/1.102, allocations: 275.4 kB / 1.383 GB, free: 9.906 MB / 1.107 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.001385/1.104, allocations: 0.6074 MB / 1.383 GB, free: 9.473 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.105, allocations: 0.5872 MB / 1.384 GB, free: 8.887 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.105, allocations: 0 / 1.384 GB, free: 8.887 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/1.105, allocations: 319.9 kB / 1.384 GB, free: 8.574 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.107, allocations: 279.2 kB / 1.385 GB, free: 8.324 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/1.109, allocations: 1.454 MB / 1.386 GB, free: 6.832 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/1.11, allocations: 0.9688 MB / 1.387 GB, free: 5.836 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.11, allocations: 119.4 kB / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of SimCode: time 2.094e-06/1.11, allocations: 0 / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of Templates: time 0.02163/1.132, allocations: 13.55 MB / 1.4 GB, free: 8.23 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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