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.0007747/0.0007747, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0008818/0.0008817, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 9.141 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.353, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004505/0.3575, allocations: 4.136 MB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.5318, allocations: 146.6 MB / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.5325, allocations: 19.88 kB / 1.206 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.533, allocations: 142.9 kB / 1.206 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.5345, allocations: 436.8 kB / 1.206 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.5362, allocations: 0.6512 MB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.5375, allocations: 1.152 MB / 1.208 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.5382, allocations: 474.7 kB / 1.209 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.5388, allocations: 306.5 kB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.5393, allocations: 330.2 kB / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.5393, allocations: 28 kB / 1.209 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.54, allocations: 299.7 kB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5402, allocations: 171.2 kB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.5406, allocations: 423.1 kB / 1.21 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.5422, allocations: 1.281 MB / 1.211 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5422, allocations: 0 / 1.211 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.488e-06/0.5422, allocations: 0 / 1.211 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.5423, allocations: 3.938 kB / 1.211 GB, free: 8.426 MB / 0.9669 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.002112/0.5444, allocations: 1.094 MB / 1.212 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5444, allocations: 12.03 kB / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.5447, allocations: 111.7 kB / 1.213 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009474/0.5457, allocations: 0.6916 MB / 1.213 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.5458, allocations: 50 kB / 1.213 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.376e-05/0.5459, allocations: 68 kB / 1.213 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5471, allocations: 0.7682 MB / 1.214 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.5472, allocations: 7.938 kB / 1.214 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.5473, allocations: 32 kB / 1.214 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5473, allocations: 20 kB / 1.214 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.5486, allocations: 0.965 MB / 1.215 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.5523, allocations: 2.522 MB / 1.218 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.5535, allocations: 0.6799 MB / 1.218 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.554, allocations: 247.2 kB / 1.219 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.5541, allocations: 32.5 kB / 1.219 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.5547, allocations: 431 kB / 1.219 GB, free: 472 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.5547, allocations: 0 / 1.219 GB, free: 472 kB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001614/0.5564, allocations: 0.8339 MB / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.5566, allocations: 247.8 kB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007808/0.5573, allocations: 0.6293 MB / 1.221 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.5574, allocations: 41.7 kB / 1.221 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.5577, allocations: 360.5 kB / 1.221 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5579, allocations: 220.7 kB / 1.221 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.558, allocations: 69.67 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5582, allocations: 382.8 kB / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.5586, allocations: 221.9 kB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.5591, allocations: 337.4 kB / 1.222 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.5599, allocations: 0.5172 MB / 1.223 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5599, allocations: 4 kB / 1.223 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001122/0.561, allocations: 0.6837 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5611, allocations: 8 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5611, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5611, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.5617, allocations: 147.8 kB / 1.224 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.5617, allocations: 7.938 kB / 1.224 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.5624, allocations: 108.1 kB / 1.224 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/0.5625, allocations: 27.98 kB / 1.224 GB, free: 11.5 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.0003971/0.5629, allocations: 255.4 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.563, allocations: 83 kB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.5646, allocations: 0.8448 MB / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.5646, allocations: 11.94 kB / 1.225 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5646, allocations: 11.92 kB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5647, allocations: 7.984 kB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5658, allocations: 0.9636 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5658, allocations: 0 / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.5663, allocations: 119.9 kB / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.5663, allocations: 7.938 kB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.5663, allocations: 27.97 kB / 1.226 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5663, allocations: 7.938 kB / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5663, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.5675, allocations: 0.7317 MB / 1.227 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.5679, allocations: 275.7 kB / 1.227 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.568, allocations: 12 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.5685, allocations: 75.5 kB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5687, allocations: 56.58 kB / 1.227 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.5687, allocations: 31.97 kB / 1.227 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006305/0.5694, allocations: 455 kB / 1.228 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5694, allocations: 0 / 1.228 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007673/0.5702, allocations: 279.5 kB / 1.228 GB, free: 7.168 MB / 0.9825 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.001377/0.5715, allocations: 0.5893 MB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.5727, allocations: 0.5794 MB / 1.229 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5727, allocations: 4 kB / 1.229 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.5733, allocations: 323.6 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5745, allocations: 260 kB / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.5772, allocations: 1.788 MB / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.5779, allocations: 0.9767 MB / 1.232 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007921/0.5787, allocations: 258.2 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.5789, allocations: 95.39 kB / 1.233 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of SimCode: time 6.82e-07/0.579, allocations: 3.938 kB / 1.233 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.02225/0.6012, allocations: 12.15 MB / 1.244 GB, free: 6.445 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches