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.007363/0.007363, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001936/0.001936, allocations: 190.6 kB / 16.67 MB, free: 6.379 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 62.72 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006652/0.3801, allocations: 4.267 MB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5629, allocations: 150.5 MB / 1.239 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5641, allocations: 15.94 kB / 1.239 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.5648, allocations: 162.5 kB / 1.239 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.5668, allocations: 0.493 MB / 1.24 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.5686, allocations: 0.7509 MB / 1.24 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.5702, allocations: 1.207 MB / 1.242 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.571, allocations: 0.5023 MB / 1.242 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.5716, allocations: 414.5 kB / 1.243 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.5721, allocations: 422.1 kB / 1.243 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.5723, allocations: 100 kB / 1.243 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.5731, allocations: 399.7 kB / 1.243 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.5734, allocations: 251.2 kB / 1.244 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.5739, allocations: 485.4 kB / 1.244 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.5759, allocations: 1.394 MB / 1.245 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5759, allocations: 0 / 1.245 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5759, allocations: 0 / 1.245 GB, free: 15.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.5759, allocations: 8 kB / 1.245 GB, free: 15.55 MB / 1.014 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.002345/0.5783, allocations: 1.261 MB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5783, allocations: 8.031 kB / 1.247 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.5787, allocations: 107.7 kB / 1.247 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5799, allocations: 0.7189 MB / 1.248 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.5799, allocations: 50 kB / 1.248 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.12e-05/0.58, allocations: 67.98 kB / 1.248 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.5813, allocations: 0.7798 MB / 1.248 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5814, allocations: 3.938 kB / 1.248 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.5814, allocations: 28 kB / 1.248 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.5815, allocations: 16 kB / 1.248 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5829, allocations: 0.9767 MB / 1.249 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.5864, allocations: 2.451 MB / 1.252 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5876, allocations: 0.6893 MB / 1.252 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.588, allocations: 243.3 kB / 1.253 GB, free: 7.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/0.5881, allocations: 32.52 kB / 1.253 GB, free: 7.883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006717/0.5888, allocations: 423.5 kB / 1.253 GB, free: 7.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.915e-06/0.5888, allocations: 0 / 1.253 GB, free: 7.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001535/0.5903, allocations: 0.8376 MB / 1.254 GB, free: 6.609 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.5905, allocations: 247.8 kB / 1.254 GB, free: 6.309 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.5913, allocations: 0.6215 MB / 1.255 GB, free: 5.676 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.5913, allocations: 41.7 kB / 1.255 GB, free: 5.629 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.5917, allocations: 368.5 kB / 1.255 GB, free: 5.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.5918, allocations: 216.9 kB / 1.255 GB, free: 5.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.5921, allocations: 154.5 kB / 1.256 GB, free: 4.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5923, allocations: 386.8 kB / 1.256 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.5926, allocations: 221.9 kB / 1.256 GB, free: 4.289 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.5931, allocations: 329.4 kB / 1.256 GB, free: 3.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.5939, allocations: 0.525 MB / 1.257 GB, free: 3.402 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.594, allocations: 0 / 1.257 GB, free: 3.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001181/0.5951, allocations: 0.6799 MB / 1.258 GB, free: 2.715 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5952, allocations: 7.984 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5952, allocations: 4 kB / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.5952, allocations: 4 kB / 1.258 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.5958, allocations: 139.8 kB / 1.258 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.5958, allocations: 11.94 kB / 1.258 GB, free: 2.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.5965, allocations: 91.55 kB / 1.258 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.5965, allocations: 39.97 kB / 1.258 GB, free: 2.422 MB / 1.014 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.0004328/0.597, allocations: 255.4 kB / 1.258 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.5971, allocations: 79.06 kB / 1.258 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.5987, allocations: 0.8445 MB / 1.259 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5987, allocations: 8 kB / 1.259 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.5987, allocations: 7.922 kB / 1.259 GB, free: 1.215 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5987, allocations: 3.984 kB / 1.259 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5999, allocations: 0.9637 MB / 1.26 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5999, allocations: 11.94 kB / 1.26 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.6004, allocations: 123.8 kB / 1.26 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.6004, allocations: 3.938 kB / 1.26 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.6004, allocations: 27.92 kB / 1.26 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6004, allocations: 4 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6004, allocations: 0 / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7266/1.327, allocations: 0.7304 MB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/1.328, allocations: 258.5 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.328, allocations: 22.92 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/1.328, allocations: 54.06 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.328, allocations: 60.11 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/1.328, allocations: 31.95 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007315/1.329, allocations: 453.4 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.329, allocations: 3.438 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009323/1.33, allocations: 262.8 kB / 1.262 GB, free: 174.1 MB / 1.014 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.001517/1.332, allocations: 0.6006 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001308/1.333, allocations: 0.5847 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.333, allocations: 0 / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/1.334, allocations: 324.4 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.335, allocations: 275.2 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/1.338, allocations: 1.411 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/1.338, allocations: 0.978 MB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009367/1.339, allocations: 244.4 kB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.34, allocations: 94.33 kB / 1.266 GB, free: 172.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.372e-06/1.34, allocations: 1.062 kB / 1.266 GB, free: 172.4 MB / 1.014 GB Notification: Performance of Templates: time 0.03309/1.373, allocations: 12.73 MB / 1.279 GB, free: 171.3 MB / 1.014 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