Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009552/0.009552, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.413/1.413, 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.657/2.657, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 13.19 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3519, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.009477/0.3615, allocations: 4.136 MB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2711/0.6327, allocations: 146.6 MB / 1.206 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.6338, allocations: 19.88 kB / 1.206 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.6347, allocations: 138.9 kB / 1.206 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.6374, allocations: 432.3 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.6406, allocations: 0.666 MB / 1.207 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.6431, allocations: 1.148 MB / 1.208 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.6445, allocations: 486.6 kB / 1.209 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007664/0.6453, allocations: 306.5 kB / 1.209 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000865/0.6462, allocations: 330.2 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.6464, allocations: 24 kB / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.6477, allocations: 295.7 kB / 1.21 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.6481, allocations: 167.2 kB / 1.21 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.6488, allocations: 427.1 kB / 1.21 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.6514, allocations: 1.281 MB / 1.211 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6514, allocations: 0 / 1.211 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6514, allocations: 0 / 1.211 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.029e-05/0.6514, allocations: 0 / 1.211 GB, free: 8.402 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.0035/0.655, allocations: 1.095 MB / 1.212 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.655, allocations: 8.031 kB / 1.213 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.6556, allocations: 107.7 kB / 1.213 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.6575, allocations: 0.6955 MB / 1.213 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.6576, allocations: 57.98 kB / 1.213 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.6578, allocations: 60 kB / 1.213 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.66, allocations: 0.7721 MB / 1.214 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.6601, allocations: 3.938 kB / 1.214 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.6602, allocations: 28 kB / 1.214 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.6603, allocations: 20 kB / 1.214 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.6629, allocations: 0.9728 MB / 1.215 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.6692, allocations: 2.513 MB / 1.218 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.6716, allocations: 0.6799 MB / 1.218 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.6723, allocations: 251.3 kB / 1.219 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.6725, allocations: 24.53 kB / 1.219 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.6736, allocations: 427.5 kB / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 4.408e-06/0.6736, allocations: 0 / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.002822/0.6765, allocations: 0.8338 MB / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.6767, allocations: 243.8 kB / 1.22 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.6783, allocations: 0.633 MB / 1.221 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.6784, allocations: 41.7 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.679, allocations: 356.5 kB / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.6793, allocations: 224.9 kB / 1.221 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.6795, allocations: 69.62 kB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000245/0.6798, allocations: 386.8 kB / 1.222 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.6805, allocations: 221.9 kB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/0.6814, allocations: 325.4 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.6828, allocations: 0.5329 MB / 1.223 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6829, allocations: 0 / 1.223 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00206/0.6849, allocations: 0.68 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.685, allocations: 11.98 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.685, allocations: 4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.685, allocations: 4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.686, allocations: 139.8 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.686, allocations: 7.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6872, allocations: 105.2 kB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6874, allocations: 39.97 kB / 1.224 GB, free: 11.48 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.0007/0.6881, allocations: 255.4 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.6884, allocations: 75.06 kB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.6911, allocations: 0.8524 MB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.6912, allocations: 8.109 kB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.6912, allocations: 11.86 kB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.6912, allocations: 3.984 kB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.6932, allocations: 0.9714 MB / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6933, allocations: 0 / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.6941, allocations: 119.9 kB / 1.226 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/0.6941, allocations: 7.938 kB / 1.226 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.6942, allocations: 23.98 kB / 1.226 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.6942, allocations: 7.938 kB / 1.226 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6942, allocations: 0 / 1.226 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.6963, allocations: 0.7316 MB / 1.227 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/0.697, allocations: 271.7 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.6973, allocations: 16 kB / 1.227 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6983, allocations: 75.94 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.6986, allocations: 60.56 kB / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.6987, allocations: 27.98 kB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001106/0.6998, allocations: 455 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6998, allocations: 0 / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001313/0.7012, allocations: 271.5 kB / 1.228 GB, free: 7.156 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.0021/0.7033, allocations: 0.6083 MB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.7049, allocations: 0.5794 MB / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7049, allocations: 0 / 1.229 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/0.7056, allocations: 323.6 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.7074, allocations: 264.8 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.7104, allocations: 1.793 MB / 1.231 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.7111, allocations: 0.9721 MB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008361/0.712, allocations: 250.2 kB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.7123, allocations: 103.4 kB / 1.233 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of SimCode: time 2.885e-06/0.7123, allocations: 0 / 1.233 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.02428/0.7366, allocations: 12.14 MB / 1.244 GB, free: 6.426 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches