Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001621/0.001621, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002244/0.002244, allocations: 192.8 kB / 16.25 MB, free: 6.645 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.047/3.047, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.78 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.357, allocations: 159.2 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007242/0.3644, allocations: 4.551 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1993/0.5637, allocations: 148.3 MB / 1.213 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.5649, allocations: 15.94 kB / 1.213 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.5655, allocations: 142.9 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.5675, allocations: 455.3 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.5694, allocations: 0.6741 MB / 1.214 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.571, allocations: 1.242 MB / 1.215 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.5718, allocations: 0.4908 MB / 1.216 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.5725, allocations: 410.5 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.5731, allocations: 430.1 kB / 1.216 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.5732, allocations: 96 kB / 1.217 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.574, allocations: 379.7 kB / 1.217 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.5743, allocations: 251.2 kB / 1.217 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.5748, allocations: 493.5 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.5765, allocations: 1.363 MB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5766, allocations: 0 / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5766, allocations: 0 / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5766, allocations: 8 kB / 1.219 GB, free: 14.78 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.002425/0.579, allocations: 1.265 MB / 1.22 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5791, allocations: 12.03 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.5795, allocations: 115.6 kB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5806, allocations: 0.6917 MB / 1.221 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.5806, allocations: 50 kB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.5807, allocations: 64 kB / 1.221 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5821, allocations: 0.7798 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.5822, allocations: 3.984 kB / 1.222 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.5822, allocations: 28 kB / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.5823, allocations: 19.98 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.5837, allocations: 0.9767 MB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.5876, allocations: 2.476 MB / 1.225 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5889, allocations: 0.6886 MB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.5893, allocations: 255.2 kB / 1.226 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/0.5894, allocations: 36.5 kB / 1.226 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000767/0.5902, allocations: 426.5 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 3.135e-06/0.5902, allocations: 0 / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001691/0.5919, allocations: 0.8338 MB / 1.227 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.5921, allocations: 247.8 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/0.5929, allocations: 0.6332 MB / 1.228 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.593, allocations: 41.7 kB / 1.228 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.5933, allocations: 348.5 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.5936, allocations: 232.7 kB / 1.229 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.5938, allocations: 154.5 kB / 1.229 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.594, allocations: 382.8 kB / 1.229 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.5945, allocations: 225.8 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.595, allocations: 333.5 kB / 1.23 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.596, allocations: 0.5211 MB / 1.23 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.596, allocations: 0 / 1.23 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001209/0.5972, allocations: 0.6837 MB / 1.231 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5972, allocations: 9.25 kB / 1.231 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5972, allocations: 0 / 1.231 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.5973, allocations: 4 kB / 1.231 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.5978, allocations: 147.8 kB / 1.231 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.5979, allocations: 11.88 kB / 1.231 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.5985, allocations: 91.48 kB / 1.231 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.5985, allocations: 35.97 kB / 1.231 GB, free: 1.605 MB / 0.9825 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.0004044/0.599, allocations: 251.4 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5991, allocations: 75.06 kB / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.6007, allocations: 0.8486 MB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.6008, allocations: 8 kB / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6008, allocations: 7.875 kB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6008, allocations: 7.984 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.6021, allocations: 0.9637 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6021, allocations: 0 / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.6025, allocations: 123.8 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/0.6026, allocations: 7.938 kB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.6026, allocations: 19.98 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6026, allocations: 4 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6026, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.6039, allocations: 0.7393 MB / 1.234 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.6042, allocations: 259.8 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6044, allocations: 20 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.6049, allocations: 47.94 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.605, allocations: 64.56 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.6051, allocations: 43.91 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005976/0.6057, allocations: 451 kB / 1.235 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6057, allocations: 0 / 1.235 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007909/0.6065, allocations: 279.3 kB / 1.236 GB, free: 13.3 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.00205/0.6086, allocations: 0.5937 MB / 1.236 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.6103, allocations: 0.7515 MB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6103, allocations: 8 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.6109, allocations: 319.6 kB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.6121, allocations: 281.1 kB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.615, allocations: 1.772 MB / 1.239 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.6157, allocations: 0.9771 MB / 1.24 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008143/0.6166, allocations: 258.1 kB / 1.24 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.6168, allocations: 99.39 kB / 1.24 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.6168, allocations: 0 / 1.24 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of Templates: time 0.5605/1.177, allocations: 12.6 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches