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.006562/0.006563, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001529/0.001529, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 159.9 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007318/0.343, allocations: 4.526 MB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9188/1.262, allocations: 150.6 MB / 1.377 GB, free: 5.668 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/1.263, allocations: 19.19 kB / 1.377 GB, free: 5.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/1.263, allocations: 171.1 kB / 1.377 GB, free: 5.551 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/1.265, allocations: 0.5073 MB / 1.378 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/1.267, allocations: 0.7607 MB / 1.378 GB, free: 4.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001525/1.269, allocations: 1.245 MB / 1.38 GB, free: 4.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007439/1.269, allocations: 0.4891 MB / 1.38 GB, free: 3.973 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/1.27, allocations: 412.5 kB / 1.381 GB, free: 3.766 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/1.27, allocations: 430.8 kB / 1.381 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/1.271, allocations: 96.28 kB / 1.381 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/1.271, allocations: 401.3 kB / 1.381 GB, free: 3.449 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/1.272, allocations: 261.8 kB / 1.382 GB, free: 3.281 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/1.272, allocations: 483.3 kB / 1.382 GB, free: 2.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/1.274, allocations: 1.411 MB / 1.384 GB, free: 2.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.274, allocations: 2.75 kB / 1.384 GB, free: 2.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.486e-06/1.274, allocations: 0 / 1.384 GB, free: 2.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.078e-05/1.274, allocations: 3.938 kB / 1.384 GB, free: 2.016 MB / 1.076 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.002147/1.276, allocations: 1.31 MB / 1.385 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.276, allocations: 9.719 kB / 1.385 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/1.277, allocations: 108.9 kB / 1.385 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.278, allocations: 0.7192 MB / 1.386 GB, free: 316 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/1.278, allocations: 58.58 kB / 1.386 GB, free: 284 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/1.278, allocations: 67.88 kB / 1.386 GB, free: 260 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/1.279, allocations: 0.7671 MB / 1.387 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.279, allocations: 3.938 kB / 1.387 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/1.279, allocations: 32.56 kB / 1.387 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/1.279, allocations: 16 kB / 1.387 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.28, allocations: 0.9767 MB / 1.388 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/1.284, allocations: 2.473 MB / 1.39 GB, free: 13.21 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/1.285, allocations: 0.6805 MB / 1.391 GB, free: 12.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/1.285, allocations: 250 kB / 1.391 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/1.285, allocations: 29.48 kB / 1.391 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/1.286, allocations: 424.9 kB / 1.391 GB, free: 12.44 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 2.716e-06/1.286, allocations: 0 / 1.391 GB, free: 12.44 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.001566/1.288, allocations: 0.8407 MB / 1.392 GB, free: 12.02 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.288, allocations: 239.7 kB / 1.392 GB, free: 11.73 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/1.288, allocations: 0.6392 MB / 1.393 GB, free: 11.36 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/1.289, allocations: 38.05 kB / 1.393 GB, free: 11.32 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.289, allocations: 358.1 kB / 1.393 GB, free: 11 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.289, allocations: 248 kB / 1.394 GB, free: 10.79 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.289, allocations: 150.9 kB / 1.394 GB, free: 10.7 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002443/1.289, allocations: 380.5 kB / 1.394 GB, free: 10.33 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/1.29, allocations: 221.3 kB / 1.394 GB, free: 10.22 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/1.29, allocations: 337.5 kB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/1.291, allocations: 0.5185 MB / 1.395 GB, free: 9.719 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.291, allocations: 1 kB / 1.395 GB, free: 9.719 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001242/1.292, allocations: 0.6893 MB / 1.396 GB, free: 9.371 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.293, allocations: 4.625 kB / 1.396 GB, free: 9.371 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.293, allocations: 2.125 kB / 1.396 GB, free: 9.371 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.293, allocations: 5 kB / 1.396 GB, free: 9.371 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/1.293, allocations: 145.6 kB / 1.396 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.293, allocations: 6.938 kB / 1.396 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/1.294, allocations: 98.67 kB / 1.396 GB, free: 9.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/1.294, allocations: 32.89 kB / 1.396 GB, free: 9.258 MB / 1.092 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.0003954/1.294, allocations: 263.5 kB / 1.396 GB, free: 9.051 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.294, allocations: 81.14 kB / 1.396 GB, free: 9.008 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.296, allocations: 0.845 MB / 1.397 GB, free: 8.551 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.296, allocations: 11.62 kB / 1.397 GB, free: 8.547 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.296, allocations: 1.125 kB / 1.397 GB, free: 8.547 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.296, allocations: 7.922 kB / 1.397 GB, free: 8.539 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.298, allocations: 0.9694 MB / 1.398 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.298, allocations: 1.094 kB / 1.398 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/1.298, allocations: 123.5 kB / 1.398 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/1.298, allocations: 3 kB / 1.398 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/1.298, allocations: 27.89 kB / 1.398 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/1.298, allocations: 3.688 kB / 1.398 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.298, allocations: 3.047 kB / 1.398 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.299, allocations: 0.7469 MB / 1.399 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/1.3, allocations: 252 kB / 1.399 GB, free: 7.078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.3, allocations: 22.56 kB / 1.399 GB, free: 7.062 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/1.3, allocations: 56.27 kB / 1.399 GB, free: 7.035 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.3, allocations: 62 kB / 1.399 GB, free: 7.004 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/1.3, allocations: 27.2 kB / 1.399 GB, free: 6.996 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005965/1.301, allocations: 463 kB / 1.4 GB, free: 6.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.91e-07/1.301, allocations: 1.312 kB / 1.4 GB, free: 6.73 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001106/1.302, allocations: 275.1 kB / 1.4 GB, free: 6.652 MB / 1.092 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.001392/1.304, allocations: 0.6026 MB / 1.401 GB, free: 6.371 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.305, allocations: 0.5821 MB / 1.401 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.305, allocations: 320 / 1.401 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004937/1.305, allocations: 327.5 kB / 1.402 GB, free: 5.98 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.306, allocations: 283 kB / 1.402 GB, free: 5.832 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/1.309, allocations: 1.446 MB / 1.403 GB, free: 4.945 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/1.309, allocations: 0.9803 MB / 1.404 GB, free: 4.125 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006737/1.31, allocations: 247.4 kB / 1.405 GB, free: 4.004 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.31, allocations: 98.14 kB / 1.405 GB, free: 3.973 MB / 1.092 GB Notification: Performance of SimCode: time 5.21e-07/1.31, allocations: 0 / 1.405 GB, free: 3.973 MB / 1.092 GB Notification: Performance of Templates: time 0.02071/1.331, allocations: 12.85 MB / 1.417 GB, free: 10.04 MB / 1.107 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