Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_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_10_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.001418/0.001418, allocations: 115.7 kB / 16.37 MB, free: 6.012 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.001547/0.001547, allocations: 193.8 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.22 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3155, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006191/0.3218, allocations: 4.532 MB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7086/1.03, allocations: 150.6 MB / 1.17 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007114/1.031, allocations: 19.84 kB / 1.17 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/1.032, allocations: 174.7 kB / 1.17 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/1.033, allocations: 0.5085 MB / 1.171 GB, free: 108 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.035, allocations: 0.7621 MB / 1.172 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001469/1.036, allocations: 1.245 MB / 1.173 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008479/1.037, allocations: 493.8 kB / 1.173 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/1.038, allocations: 410.3 kB / 1.174 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/1.039, allocations: 431.6 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/1.039, allocations: 101.4 kB / 1.174 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008672/1.04, allocations: 399 kB / 1.175 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/1.04, allocations: 259.2 kB / 1.175 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/1.04, allocations: 482.3 kB / 1.175 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/1.042, allocations: 1.407 MB / 1.177 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.042, allocations: 0.75 kB / 1.177 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.316e-06/1.042, allocations: 0 / 1.177 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.042, allocations: 0 / 1.177 GB, free: 12.99 MB / 0.8887 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.002622/1.045, allocations: 1.274 MB / 1.178 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.045, allocations: 10.2 kB / 1.178 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/1.046, allocations: 107.2 kB / 1.178 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.047, allocations: 0.719 MB / 1.179 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/1.047, allocations: 53.31 kB / 1.179 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.047, allocations: 70.83 kB / 1.179 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.048, allocations: 0.7794 MB / 1.18 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.048, allocations: 1.25 kB / 1.18 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/1.049, allocations: 31.38 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/1.049, allocations: 16.34 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/1.05, allocations: 0.9717 MB / 1.181 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/1.054, allocations: 2.452 MB / 1.183 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.055, allocations: 0.6822 MB / 1.184 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/1.055, allocations: 255 kB / 1.184 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/1.055, allocations: 22.09 kB / 1.184 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006304/1.056, allocations: 427.3 kB / 1.184 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/1.056, allocations: 0 / 1.184 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.001492/1.057, allocations: 0.8425 MB / 1.185 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.058, allocations: 239.7 kB / 1.185 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/1.058, allocations: 0.6323 MB / 1.186 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/1.058, allocations: 37.33 kB / 1.186 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/1.059, allocations: 365.9 kB / 1.186 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/1.059, allocations: 221.4 kB / 1.187 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.059, allocations: 157.3 kB / 1.187 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.059, allocations: 383 kB / 1.187 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.06, allocations: 222.2 kB / 1.187 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/1.06, allocations: 337.8 kB / 1.188 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/1.061, allocations: 0.5167 MB / 1.188 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.061, allocations: 5 kB / 1.188 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001083/1.062, allocations: 0.6824 MB / 1.189 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.062, allocations: 12.09 kB / 1.189 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.062, allocations: 0 / 1.189 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.062, allocations: 5.031 kB / 1.189 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/1.063, allocations: 145.6 kB / 1.189 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.063, allocations: 11.88 kB / 1.189 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/1.063, allocations: 85.58 kB / 1.189 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/1.063, allocations: 33.97 kB / 1.189 GB, free: 4.301 MB / 0.8887 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.0003468/1.064, allocations: 263.2 kB / 1.189 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.064, allocations: 77.72 kB / 1.189 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.065, allocations: 0.8446 MB / 1.19 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.065, allocations: 8.094 kB / 1.19 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.065, allocations: 0 / 1.19 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.065, allocations: 7.922 kB / 1.19 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.066, allocations: 0.9632 MB / 1.191 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.066, allocations: 0 / 1.191 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/1.067, allocations: 132.7 kB / 1.191 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.067, allocations: 2.594 kB / 1.191 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/1.067, allocations: 23.33 kB / 1.191 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/1.067, allocations: 6.844 kB / 1.191 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.067, allocations: 2.469 kB / 1.191 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.068, allocations: 0.7351 MB / 1.192 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/1.068, allocations: 255.6 kB / 1.192 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.068, allocations: 24.94 kB / 1.192 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/1.069, allocations: 60.48 kB / 1.192 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.069, allocations: 59.34 kB / 1.193 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/1.069, allocations: 28.45 kB / 1.193 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005888/1.07, allocations: 460.8 kB / 1.193 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/1.07, allocations: 3.75 kB / 1.193 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009218/1.071, allocations: 275.7 kB / 1.193 GB, free: 1.695 MB / 0.8887 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.00142/1.072, allocations: 0.5967 MB / 1.194 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009893/1.073, allocations: 0.5803 MB / 1.194 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.073, allocations: 0 / 1.194 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/1.074, allocations: 325 kB / 1.195 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/1.075, allocations: 280.2 kB / 1.195 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.077, allocations: 1.421 MB / 1.196 GB, free: 28 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/1.077, allocations: 0.9777 MB / 1.197 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006457/1.078, allocations: 254.4 kB / 1.198 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.078, allocations: 100 kB / 1.198 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of SimCode: time 4.3e-07/1.078, allocations: 0 / 1.198 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.02096/1.099, allocations: 12.71 MB / 1.21 GB, free: 4.887 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches