Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001487/0.001487, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001591/0.001592, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.3 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2836, allocations: 151.7 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006342/0.29, allocations: 4.532 MB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7013/0.9914, allocations: 150.5 MB / 1.17 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.9923, allocations: 19.94 kB / 1.17 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007312/0.993, allocations: 174.1 kB / 1.17 GB, free: 408 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.9949, allocations: 0.5071 MB / 1.171 GB, free: 112 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.997, allocations: 0.7633 MB / 1.172 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.9989, allocations: 1.246 MB / 1.173 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008642/0.9998, allocations: 493.6 kB / 1.173 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/1, allocations: 413.3 kB / 1.174 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/1.001, allocations: 434.4 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/1.001, allocations: 96.78 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/1.002, allocations: 396.8 kB / 1.175 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/1.002, allocations: 257.8 kB / 1.175 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004658/1.003, allocations: 491.2 kB / 1.175 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/1.004, allocations: 1.399 MB / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.004, allocations: 8 kB / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/1.004, allocations: 0 / 1.177 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.667e-05/1.005, allocations: 1.469 kB / 1.177 GB, free: 12.98 MB / 0.8887 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.00253/1.007, allocations: 1.274 MB / 1.178 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/1.007, allocations: 10.3 kB / 1.178 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/1.008, allocations: 109.6 kB / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/1.009, allocations: 0.7177 MB / 1.179 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/1.009, allocations: 50.75 kB / 1.179 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/1.009, allocations: 62.62 kB / 1.179 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/1.01, allocations: 0.7787 MB / 1.18 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.011, allocations: 9.516 kB / 1.18 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/1.011, allocations: 27.25 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/1.011, allocations: 17.56 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/1.012, allocations: 0.9698 MB / 1.181 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/1.016, allocations: 2.458 MB / 1.183 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.017, allocations: 0.678 MB / 1.184 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/1.017, allocations: 245.7 kB / 1.184 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/1.017, allocations: 37.97 kB / 1.184 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/1.018, allocations: 422.4 kB / 1.184 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/1.018, allocations: 3.75 kB / 1.184 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.001686/1.02, allocations: 0.836 MB / 1.185 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/1.02, allocations: 243.8 kB / 1.185 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/1.021, allocations: 0.6281 MB / 1.186 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/1.021, allocations: 41.86 kB / 1.186 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.021, allocations: 363 kB / 1.186 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/1.022, allocations: 221.2 kB / 1.187 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/1.022, allocations: 158.9 kB / 1.187 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.022, allocations: 384 kB / 1.187 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/1.022, allocations: 225.8 kB / 1.187 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/1.023, allocations: 332.4 kB / 1.188 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/1.024, allocations: 0.5262 MB / 1.188 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.024, allocations: 3.938 kB / 1.188 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001174/1.025, allocations: 0.679 MB / 1.189 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.025, allocations: 4.719 kB / 1.189 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.025, allocations: 2.656 kB / 1.189 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.025, allocations: 6.672 kB / 1.189 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/1.025, allocations: 142.6 kB / 1.189 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.025, allocations: 4.406 kB / 1.189 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/1.026, allocations: 89.55 kB / 1.189 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/1.026, allocations: 37.97 kB / 1.189 GB, free: 4.289 MB / 0.8887 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.0003774/1.027, allocations: 257.1 kB / 1.189 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.027, allocations: 77.34 kB / 1.189 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/1.028, allocations: 0.8456 MB / 1.19 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.028, allocations: 8.469 kB / 1.19 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.028, allocations: 8 kB / 1.19 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.028, allocations: 9.328 kB / 1.19 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.029, allocations: 0.9646 MB / 1.191 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.029, allocations: 2.969 kB / 1.191 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/1.03, allocations: 122.3 kB / 1.191 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.03, allocations: 2.625 kB / 1.191 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/1.03, allocations: 30.17 kB / 1.191 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.03, allocations: 2.688 kB / 1.191 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.03, allocations: 4.031 kB / 1.191 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.031, allocations: 0.7313 MB / 1.192 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/1.031, allocations: 256 kB / 1.192 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.032, allocations: 23.69 kB / 1.192 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/1.032, allocations: 60.69 kB / 1.192 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.032, allocations: 57.83 kB / 1.193 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/1.032, allocations: 29.97 kB / 1.193 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005129/1.033, allocations: 455.5 kB / 1.193 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.193 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007329/1.034, allocations: 276.9 kB / 1.193 GB, free: 1.691 MB / 0.8887 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.001317/1.035, allocations: 0.5912 MB / 1.194 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.036, allocations: 0.5904 MB / 1.194 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.036, allocations: 0 / 1.194 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/1.036, allocations: 323.7 kB / 1.195 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.037, allocations: 282.2 kB / 1.195 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/1.04, allocations: 1.422 MB / 1.196 GB, free: 16 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/1.04, allocations: 0.9759 MB / 1.197 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000691/1.041, allocations: 256.4 kB / 1.198 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.041, allocations: 96.8 kB / 1.198 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.041, allocations: 0 / 1.198 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.02177/1.063, allocations: 12.71 MB / 1.21 GB, free: 4.852 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches