Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006282/0.006282, allocations: 100.9 kB / 15.87 MB, free: 6.328 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.001286/0.001286, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.42 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.00684/0.3217, allocations: 4.541 MB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.4773, allocations: 148.2 MB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.4784, allocations: 15.88 kB / 1.202 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.4792, allocations: 139 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.4813, allocations: 436.6 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.4834, allocations: 0.6604 MB / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.4851, allocations: 1.152 MB / 1.204 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009977/0.4861, allocations: 482.7 kB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.4869, allocations: 350.5 kB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.4877, allocations: 398.1 kB / 1.205 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.4879, allocations: 40 kB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/0.4889, allocations: 323.7 kB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.4892, allocations: 211 kB / 1.206 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.49, allocations: 429.5 kB / 1.206 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.4916, allocations: 1.037 MB / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4916, allocations: 0 / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4916, allocations: 0 / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.33e-05/0.4916, allocations: 0 / 1.207 GB, free: 9.285 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.003192/0.4948, allocations: 1.277 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4949, allocations: 11.97 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.4953, allocations: 111.7 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4964, allocations: 0.6955 MB / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.4965, allocations: 50 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.4965, allocations: 68 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.498, allocations: 0.772 MB / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.498, allocations: 0 / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.4981, allocations: 35.98 kB / 1.21 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.4981, allocations: 16 kB / 1.21 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.4995, allocations: 0.965 MB / 1.211 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.5034, allocations: 2.49 MB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5047, allocations: 0.6809 MB / 1.214 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.5051, allocations: 243.4 kB / 1.215 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.156e-05/0.5051, allocations: 40.44 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008689/0.506, allocations: 426.3 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 3.306e-06/0.506, allocations: 0 / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001806/0.5078, allocations: 0.8338 MB / 1.216 GB, free: 324 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.508, allocations: 247.8 kB / 1.216 GB, free: 20 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.509, allocations: 0.6253 MB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5091, allocations: 37.7 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5095, allocations: 368.5 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5097, allocations: 220.8 kB / 1.217 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.5099, allocations: 154.5 kB / 1.217 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5102, allocations: 386.8 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.5106, allocations: 221.9 kB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.5112, allocations: 333.3 kB / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5123, allocations: 0.5212 MB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5123, allocations: 0 / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001272/0.5136, allocations: 0.6838 MB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5136, allocations: 4 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5136, allocations: 4 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5136, allocations: 4 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.5142, allocations: 147.8 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.5142, allocations: 15.88 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.515, allocations: 92.52 kB / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.5151, allocations: 39.95 kB / 1.22 GB, free: 12.11 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.0004478/0.5155, allocations: 247.4 kB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.5158, allocations: 86.97 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.5175, allocations: 0.8486 MB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5175, allocations: 8 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5176, allocations: 3.938 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5176, allocations: 3.984 kB / 1.221 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.519, allocations: 0.9715 MB / 1.222 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.519, allocations: 0 / 1.222 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.5195, allocations: 123.8 kB / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.5195, allocations: 7.938 kB / 1.222 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.5196, allocations: 23.98 kB / 1.222 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.5196, allocations: 0 / 1.222 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5196, allocations: 7.938 kB / 1.222 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.521, allocations: 0.7355 MB / 1.223 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.5214, allocations: 255.8 kB / 1.223 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.5216, allocations: 16 kB / 1.223 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.5222, allocations: 61.59 kB / 1.223 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.5223, allocations: 56.58 kB / 1.223 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.5224, allocations: 35.97 kB / 1.223 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006679/0.5231, allocations: 451 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5231, allocations: 4 kB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009166/0.524, allocations: 271.5 kB / 1.224 GB, free: 7.812 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.001501/0.5255, allocations: 0.5958 MB / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.5268, allocations: 0.5794 MB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5268, allocations: 0 / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.5273, allocations: 331.9 kB / 1.225 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.5286, allocations: 240.8 kB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.5317, allocations: 1.818 MB / 1.227 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.5325, allocations: 0.9722 MB / 1.228 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.5328, allocations: 107.4 kB / 1.228 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.5329, allocations: 0 / 1.228 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.02249/0.5554, allocations: 13.46 MB / 1.242 GB, free: 5.879 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul