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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001798/0.001798, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002072/0.002072, allocations: 193.5 kB / 16.14 MB, free: 6.691 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.95 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006696/0.3382, allocations: 4.537 MB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.4958, allocations: 148.2 MB / 1.217 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.4975, allocations: 19.88 kB / 1.217 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.4983, allocations: 143 kB / 1.217 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.5004, allocations: 429.2 kB / 1.217 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.5022, allocations: 0.6647 MB / 1.218 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.5035, allocations: 1.152 MB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.5043, allocations: 486.6 kB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.5048, allocations: 354.5 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.5052, allocations: 394.1 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.5054, allocations: 47.94 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.5061, allocations: 319.7 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.5064, allocations: 203.1 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.5068, allocations: 429.5 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.5082, allocations: 1.316 MB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5082, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5083, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5083, allocations: 0 / 1.222 GB, free: 11.59 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.002447/0.5107, allocations: 1.277 MB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5108, allocations: 12.03 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.5112, allocations: 107.6 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.5121, allocations: 0.6956 MB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.5122, allocations: 53.98 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.5123, allocations: 67.98 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5135, allocations: 0.776 MB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5136, allocations: 4 kB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.5136, allocations: 28 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5137, allocations: 16 kB / 1.225 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.5151, allocations: 0.9728 MB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.5186, allocations: 2.486 MB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5198, allocations: 0.6876 MB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.5202, allocations: 255.3 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.5203, allocations: 24.53 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007756/0.5211, allocations: 418.3 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/0.5211, allocations: 8 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001608/0.5227, allocations: 0.8311 MB / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.5229, allocations: 247.8 kB / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.5237, allocations: 0.633 MB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.5238, allocations: 45.64 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.524, allocations: 348.5 kB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.5242, allocations: 224.8 kB / 1.232 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.5245, allocations: 158.5 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5246, allocations: 382.9 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.525, allocations: 225.9 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.5255, allocations: 333.4 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.5263, allocations: 0.5173 MB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5263, allocations: 0 / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001071/0.5274, allocations: 0.6837 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5274, allocations: 8 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5275, allocations: 4.156 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5275, allocations: 4 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.528, allocations: 151.7 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5281, allocations: 7.938 kB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.5287, allocations: 92.86 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5288, allocations: 32.09 kB / 1.235 GB, free: 14.42 MB / 0.9981 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.0003902/0.5292, allocations: 263.4 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5293, allocations: 75.06 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.5309, allocations: 0.8485 MB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5309, allocations: 8 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5309, allocations: 3.938 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5309, allocations: 3.984 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.5321, allocations: 0.9598 MB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5321, allocations: 0 / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.5326, allocations: 123.8 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.5326, allocations: 11.92 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.5326, allocations: 19.98 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.5326, allocations: 12.02 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5327, allocations: 0 / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.5338, allocations: 0.7354 MB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.5341, allocations: 255.8 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5342, allocations: 19.98 kB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.5347, allocations: 55.94 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5348, allocations: 60.56 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.5349, allocations: 31.98 kB / 1.238 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005343/0.5355, allocations: 459 kB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5355, allocations: 0 / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007402/0.5362, allocations: 275.4 kB / 1.239 GB, free: 10.11 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.001496/0.5377, allocations: 0.608 MB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009884/0.5387, allocations: 0.5833 MB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5387, allocations: 4 kB / 1.24 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.5392, allocations: 323.6 kB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5403, allocations: 247 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.543, allocations: 1.762 MB / 1.242 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.5436, allocations: 0.9812 MB / 1.243 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007754/0.5444, allocations: 250.2 kB / 1.244 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5446, allocations: 103.4 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.5447, allocations: 0 / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of Templates: time 0.6109/1.156, allocations: 12.22 MB / 1.256 GB, free: 181.6 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