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.006538/0.006538, allocations: 100.2 kB / 15.73 MB, free: 6.441 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.001251/0.001251, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.509/2.509, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.92 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005392/0.2669, allocations: 4.26 MB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.4363, allocations: 150.5 MB / 1.239 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.4375, allocations: 15.94 kB / 1.239 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.4383, allocations: 166.5 kB / 1.239 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.4404, allocations: 0.5001 MB / 1.24 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.4426, allocations: 0.7514 MB / 1.24 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.4444, allocations: 1.199 MB / 1.242 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009904/0.4454, allocations: 0.5178 MB / 1.242 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.4461, allocations: 398.6 kB / 1.243 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.4469, allocations: 422.1 kB / 1.243 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.4471, allocations: 104 kB / 1.243 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007717/0.4479, allocations: 407.6 kB / 1.243 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.4481, allocations: 251.2 kB / 1.244 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.4486, allocations: 481.5 kB / 1.244 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.4505, allocations: 1.401 MB / 1.245 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4505, allocations: 0 / 1.245 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4506, allocations: 0 / 1.245 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.4506, allocations: 0 / 1.245 GB, free: 15.53 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.002381/0.453, allocations: 1.297 MB / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.453, allocations: 12.03 kB / 1.247 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.4534, allocations: 120.2 kB / 1.247 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4545, allocations: 0.7234 MB / 1.248 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.4546, allocations: 50 kB / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4547, allocations: 68 kB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4559, allocations: 0.776 MB / 1.248 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4559, allocations: 0 / 1.248 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.456, allocations: 31.98 kB / 1.248 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.456, allocations: 16 kB / 1.248 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.4574, allocations: 0.9689 MB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.4607, allocations: 2.463 MB / 1.252 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4619, allocations: 0.6916 MB / 1.253 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.4623, allocations: 247.3 kB / 1.253 GB, free: 7.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.06e-05/0.4623, allocations: 28.52 kB / 1.253 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/0.463, allocations: 430.3 kB / 1.253 GB, free: 7.359 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/0.463, allocations: 0 / 1.253 GB, free: 7.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001484/0.4645, allocations: 0.8342 MB / 1.254 GB, free: 6.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4646, allocations: 247.8 kB / 1.254 GB, free: 6.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/0.4654, allocations: 0.6292 MB / 1.255 GB, free: 5.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.4654, allocations: 41.7 kB / 1.255 GB, free: 5.531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.4657, allocations: 353 kB / 1.255 GB, free: 5.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.4659, allocations: 246 kB / 1.255 GB, free: 4.941 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4661, allocations: 158.7 kB / 1.256 GB, free: 4.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4663, allocations: 382.8 kB / 1.256 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.4667, allocations: 221.9 kB / 1.256 GB, free: 4.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.4672, allocations: 333.3 kB / 1.257 GB, free: 3.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.468, allocations: 0.5173 MB / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.468, allocations: 0 / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001144/0.4691, allocations: 0.6881 MB / 1.258 GB, free: 2.602 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4691, allocations: 9.562 kB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4692, allocations: 0 / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4692, allocations: 8 kB / 1.258 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.4697, allocations: 143.8 kB / 1.258 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4697, allocations: 11.88 kB / 1.258 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.4703, allocations: 87.53 kB / 1.258 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.4704, allocations: 31.98 kB / 1.258 GB, free: 2.316 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.0003421/0.4707, allocations: 265.3 kB / 1.258 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.4709, allocations: 79.48 kB / 1.258 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.4724, allocations: 0.8448 MB / 1.259 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.4724, allocations: 8 kB / 1.259 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4724, allocations: 7.938 kB / 1.259 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4725, allocations: 7.969 kB / 1.259 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4735, allocations: 0.9676 MB / 1.26 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4736, allocations: 32 / 1.26 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6118/1.085, allocations: 120.5 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/1.085, allocations: 7.922 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.086, allocations: 23.34 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.086, allocations: 6.75 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.086, allocations: 1.344 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.087, allocations: 0.7328 MB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.087, allocations: 263.6 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.087, allocations: 17.78 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/1.088, allocations: 57.28 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.088, allocations: 63.72 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/1.088, allocations: 33.58 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006537/1.089, allocations: 452.7 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.089, allocations: 0.7812 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007951/1.09, allocations: 270.4 kB / 1.262 GB, free: 173.9 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.001416/1.091, allocations: 0.6039 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001159/1.092, allocations: 0.5811 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.092, allocations: 0.875 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005264/1.093, allocations: 328.2 kB / 1.264 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/1.094, allocations: 263 kB / 1.264 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/1.096, allocations: 1.439 MB / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/1.097, allocations: 0.9793 MB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007402/1.097, allocations: 254.1 kB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/1.098, allocations: 98.36 kB / 1.266 GB, free: 172.2 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.098, allocations: 3.969 kB / 1.266 GB, free: 172.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02913/1.127, allocations: 12.5 MB / 1.279 GB, free: 171.2 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