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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001512/0.001512, allocations: 110 kB / 16.41 MB, free: 6.445 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.001538/0.001538, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.83 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.8929, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006284/0.8992, allocations: 4.536 MB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1672/1.066, allocations: 150.5 MB / 1.319 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009154/1.067, allocations: 11.94 kB / 1.319 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/1.068, allocations: 186.3 kB / 1.319 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/1.071, allocations: 0.508 MB / 1.319 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/1.073, allocations: 0.7605 MB / 1.32 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001888/1.075, allocations: 1.25 MB / 1.321 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009671/1.076, allocations: 0.498 MB / 1.322 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/1.076, allocations: 418.5 kB / 1.322 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/1.077, allocations: 422.1 kB / 1.323 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/1.077, allocations: 100 kB / 1.323 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009579/1.078, allocations: 399.6 kB / 1.323 GB, free: 3.633 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/1.079, allocations: 251.2 kB / 1.323 GB, free: 3.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006333/1.079, allocations: 493.5 kB / 1.324 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/1.082, allocations: 1.406 MB / 1.325 GB, free: 1.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.082, allocations: 0 / 1.325 GB, free: 1.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/1.082, allocations: 4 kB / 1.325 GB, free: 1.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.329e-05/1.082, allocations: 0 / 1.325 GB, free: 1.488 MB / 1.045 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.003259/1.085, allocations: 1.307 MB / 1.327 GB, free: 128 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.085, allocations: 12.92 kB / 1.327 GB, free: 116 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/1.086, allocations: 112.3 kB / 1.327 GB, free: 4 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.087, allocations: 0.7234 MB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/1.087, allocations: 54 kB / 1.327 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/1.087, allocations: 64 kB / 1.327 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.088, allocations: 0.776 MB / 1.328 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.088, allocations: 0 / 1.328 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/1.089, allocations: 31.98 kB / 1.328 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.089, allocations: 16 kB / 1.328 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/1.09, allocations: 0.9689 MB / 1.329 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/1.094, allocations: 2.467 MB / 1.332 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.095, allocations: 0.6837 MB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/1.096, allocations: 255.2 kB / 1.333 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/1.096, allocations: 32.61 kB / 1.333 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006721/1.096, allocations: 418.3 kB / 1.333 GB, free: 9.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/1.096, allocations: 4 kB / 1.333 GB, free: 9.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001582/1.098, allocations: 0.8381 MB / 1.334 GB, free: 8.477 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.098, allocations: 247.8 kB / 1.334 GB, free: 8.176 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.099, allocations: 0.6331 MB / 1.335 GB, free: 7.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/1.099, allocations: 49.77 kB / 1.335 GB, free: 7.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/1.1, allocations: 357 kB / 1.335 GB, free: 7.125 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/1.1, allocations: 238 kB / 1.335 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.1, allocations: 158.6 kB / 1.335 GB, free: 6.727 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.1, allocations: 382.8 kB / 1.336 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/1.101, allocations: 221.9 kB / 1.336 GB, free: 6.129 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/1.101, allocations: 333.4 kB / 1.336 GB, free: 5.781 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/1.102, allocations: 0.5134 MB / 1.337 GB, free: 5.254 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.102, allocations: 4 kB / 1.337 GB, free: 5.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001221/1.103, allocations: 0.6842 MB / 1.337 GB, free: 4.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.103, allocations: 8 kB / 1.337 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.103, allocations: 0 / 1.337 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.103, allocations: 4 kB / 1.337 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.104, allocations: 151.7 kB / 1.338 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.104, allocations: 7.938 kB / 1.338 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/1.105, allocations: 97.34 kB / 1.338 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/1.105, allocations: 31.98 kB / 1.338 GB, free: 4.266 MB / 1.061 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.0004922/1.105, allocations: 255.4 kB / 1.338 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.105, allocations: 79.48 kB / 1.338 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.107, allocations: 0.8486 MB / 1.339 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.107, allocations: 8 kB / 1.339 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/1.107, allocations: 3.938 kB / 1.339 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.107, allocations: 7.984 kB / 1.339 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/1.109, allocations: 0.9716 MB / 1.34 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.109, allocations: 0 / 1.34 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/1.109, allocations: 119.8 kB / 1.34 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/1.109, allocations: 11.92 kB / 1.34 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.109, allocations: 19.98 kB / 1.34 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.109, allocations: 7.984 kB / 1.34 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.109, allocations: 0 / 1.34 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.111, allocations: 0.7437 MB / 1.341 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/1.111, allocations: 268.2 kB / 1.341 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.111, allocations: 16 kB / 1.341 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/1.112, allocations: 51.94 kB / 1.341 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.112, allocations: 60.58 kB / 1.341 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/1.112, allocations: 35.98 kB / 1.341 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006434/1.112, allocations: 459 kB / 1.342 GB, free: 216 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.112, allocations: 0 / 1.342 GB, free: 216 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007882/1.113, allocations: 275.5 kB / 1.342 GB, free: 15.94 MB / 1.076 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.00155/1.115, allocations: 0.6018 MB / 1.342 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.116, allocations: 0.5835 MB / 1.343 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/1.116, allocations: 0 / 1.343 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/1.117, allocations: 323.6 kB / 1.343 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.118, allocations: 277.2 kB / 1.344 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.12, allocations: 1.488 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/1.121, allocations: 0.9758 MB / 1.346 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/1.121, allocations: 111.4 kB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/1.121, allocations: 0 / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of Templates: time 0.02239/1.144, allocations: 13.59 MB / 1.359 GB, free: 14.14 MB / 1.092 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 -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) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul