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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001406/0.001406, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 61 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3818, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007521/0.3894, allocations: 4.549 MB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.5609, allocations: 148.2 MB / 1.201 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.5622, allocations: 23.88 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.5633, allocations: 143 kB / 1.201 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5654, allocations: 417.5 kB / 1.202 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.5674, allocations: 0.6612 MB / 1.202 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.569, allocations: 1.164 MB / 1.204 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.5697, allocations: 482.7 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.5702, allocations: 354.5 kB / 1.204 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.5707, allocations: 386.1 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5708, allocations: 44 kB / 1.205 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.5715, allocations: 327.6 kB / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5718, allocations: 199.2 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.5722, allocations: 425.5 kB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5735, allocations: 1.324 MB / 1.207 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5735, allocations: 3.938 kB / 1.207 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5735, allocations: 0 / 1.207 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5735, allocations: 0 / 1.207 GB, free: 9.582 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.002228/0.5757, allocations: 1.273 MB / 1.208 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5758, allocations: 15.97 kB / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.5761, allocations: 103.7 kB / 1.208 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.577, allocations: 0.6917 MB / 1.209 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.5771, allocations: 50 kB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.5772, allocations: 64 kB / 1.209 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5784, allocations: 0.7838 MB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5784, allocations: 0 / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.5785, allocations: 35.92 kB / 1.21 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5785, allocations: 16 kB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5798, allocations: 0.9728 MB / 1.211 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.5831, allocations: 2.478 MB / 1.213 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5842, allocations: 0.6848 MB / 1.214 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.5846, allocations: 255.3 kB / 1.214 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/0.5847, allocations: 24.52 kB / 1.214 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007493/0.5854, allocations: 438.3 kB / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.5854, allocations: 3.938 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001539/0.587, allocations: 0.826 MB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.5871, allocations: 251.8 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/0.5879, allocations: 0.6292 MB / 1.216 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.588, allocations: 41.7 kB / 1.216 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.5883, allocations: 356.4 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.5885, allocations: 228.8 kB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.5887, allocations: 158.6 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5889, allocations: 378.8 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.5892, allocations: 221.9 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.5897, allocations: 337.4 kB / 1.218 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.5905, allocations: 0.5212 MB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5905, allocations: 0 / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001079/0.5916, allocations: 0.6763 MB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5916, allocations: 19.95 kB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5916, allocations: 0 / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5916, allocations: 7.938 kB / 1.219 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.5922, allocations: 143.8 kB / 1.219 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.5922, allocations: 7.938 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.5928, allocations: 88.36 kB / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.5929, allocations: 35.97 kB / 1.219 GB, free: 12.42 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.00036/0.5933, allocations: 257 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5934, allocations: 78.97 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.5949, allocations: 0.8485 MB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.5949, allocations: 8 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.595, allocations: 7.922 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.595, allocations: 7.984 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5961, allocations: 0.9598 MB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5961, allocations: 0 / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.5965, allocations: 123.8 kB / 1.222 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.5965, allocations: 11.97 kB / 1.222 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.5966, allocations: 19.98 kB / 1.222 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.5966, allocations: 4 kB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5966, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5977, allocations: 0.7393 MB / 1.222 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.598, allocations: 255.8 kB / 1.223 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5981, allocations: 23.98 kB / 1.223 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.5987, allocations: 51.94 kB / 1.223 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5988, allocations: 60.56 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.5989, allocations: 27.98 kB / 1.223 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005157/0.5994, allocations: 463 kB / 1.223 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5994, allocations: 0 / 1.223 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007205/0.6001, allocations: 271.5 kB / 1.224 GB, free: 8.117 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.001349/0.6015, allocations: 0.5981 MB / 1.224 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.6025, allocations: 0.5872 MB / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6025, allocations: 0 / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.603, allocations: 315.6 kB / 1.225 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6041, allocations: 261.7 kB / 1.225 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.6066, allocations: 1.77 MB / 1.227 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.6071, allocations: 0.9761 MB / 1.228 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007165/0.6078, allocations: 254.3 kB / 1.228 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.608, allocations: 91.39 kB / 1.228 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.608, allocations: 0 / 1.228 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of Templates: time 0.02089/0.6289, allocations: 12.22 MB / 1.24 GB, free: 7.348 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