Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002096/0.002097, allocations: 193.2 kB / 16.14 MB, free: 6.66 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7895, allocations: 140.4 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005088/0.7946, allocations: 4.269 MB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.9767, allocations: 148.2 MB / 1.098 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.9785, allocations: 15.94 kB / 1.098 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.9797, allocations: 135 kB / 1.098 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.983, allocations: 422.6 kB / 1.098 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.9856, allocations: 0.6519 MB / 1.099 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.9878, allocations: 1.121 MB / 1.1 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.9889, allocations: 0.4984 MB / 1.101 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.99, allocations: 342.5 kB / 1.101 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009437/0.9909, allocations: 390.1 kB / 1.101 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.9912, allocations: 47.94 kB / 1.101 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.9922, allocations: 315.7 kB / 1.102 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.9925, allocations: 207.1 kB / 1.102 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.9932, allocations: 425.5 kB / 1.102 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.9952, allocations: 1.308 MB / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9952, allocations: 0 / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9952, allocations: 0 / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.337e-05/0.9953, allocations: 0 / 1.104 GB, free: 3.23 MB / 0.8575 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.002991/0.9983, allocations: 1.269 MB / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9983, allocations: 8.031 kB / 1.105 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.9987, allocations: 111.7 kB / 1.105 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.9997, allocations: 0.6994 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.9997, allocations: 50 kB / 1.106 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/0.9998, allocations: 64 kB / 1.106 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.001, allocations: 0.7811 MB / 1.106 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.001, allocations: 0 / 1.106 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/1.001, allocations: 31.98 kB / 1.106 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/1.001, allocations: 16 kB / 1.106 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.003, allocations: 0.965 MB / 1.107 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/1.006, allocations: 2.486 MB / 1.11 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.007, allocations: 0.676 MB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/1.008, allocations: 251.3 kB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.71e-05/1.008, allocations: 28.52 kB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/1.008, allocations: 426.3 kB / 1.111 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/1.008, allocations: 0 / 1.111 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001529/1.01, allocations: 0.8312 MB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.01, allocations: 251.8 kB / 1.112 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/1.011, allocations: 0.633 MB / 1.113 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/1.011, allocations: 41.7 kB / 1.113 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/1.011, allocations: 352.5 kB / 1.113 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.011, allocations: 224.8 kB / 1.113 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.012, allocations: 158.7 kB / 1.114 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.012, allocations: 382.8 kB / 1.114 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/1.012, allocations: 221.9 kB / 1.114 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/1.013, allocations: 333.4 kB / 1.114 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/1.013, allocations: 0.5251 MB / 1.115 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.013, allocations: 4 kB / 1.115 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001135/1.015, allocations: 0.6837 MB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.015, allocations: 12.09 kB / 1.116 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.015, allocations: 4 kB / 1.116 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.015, allocations: 4 kB / 1.116 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/1.015, allocations: 143.8 kB / 1.116 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.015, allocations: 7.938 kB / 1.116 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/1.016, allocations: 84.8 kB / 1.116 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/1.016, allocations: 31.98 kB / 1.116 GB, free: 6.078 MB / 0.8731 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.0003946/1.016, allocations: 267.3 kB / 1.116 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.016, allocations: 75.06 kB / 1.116 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/1.018, allocations: 0.8486 MB / 1.117 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.018, allocations: 8 kB / 1.117 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.018, allocations: 7.938 kB / 1.117 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.018, allocations: 3.984 kB / 1.117 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.019, allocations: 0.9636 MB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.019, allocations: 0 / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/1.02, allocations: 119.8 kB / 1.118 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.02, allocations: 11.97 kB / 1.118 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/1.02, allocations: 23.97 kB / 1.118 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.02, allocations: 8 kB / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.02, allocations: 0 / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.021, allocations: 0.7316 MB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/1.021, allocations: 263.8 kB / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.021, allocations: 20 kB / 1.119 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/1.022, allocations: 55.88 kB / 1.119 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.022, allocations: 60.58 kB / 1.119 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/1.022, allocations: 35.97 kB / 1.119 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000586/1.023, allocations: 455 kB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.023, allocations: 0 / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007698/1.024, allocations: 267.4 kB / 1.12 GB, free: 1.766 MB / 0.8731 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.001434/1.025, allocations: 0.6092 MB / 1.121 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.026, allocations: 0.5794 MB / 1.121 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.026, allocations: 0 / 1.121 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/1.027, allocations: 323.6 kB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.028, allocations: 245.3 kB / 1.122 GB, free: 212 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.031, allocations: 1.759 MB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/1.031, allocations: 0.976 MB / 1.124 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008595/1.032, allocations: 250.2 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/1.032, allocations: 99.39 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of SimCode: time 9.92e-07/1.032, allocations: 0 / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.02463/1.057, allocations: 11.89 MB / 1.136 GB, free: 1.312 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches