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.001109/0.00111, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 12.33 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005126/0.3227, allocations: 4.128 MB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.4888, allocations: 146.6 MB / 1.207 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.4899, allocations: 15.94 kB / 1.207 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.4907, allocations: 130.9 kB / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.4927, allocations: 441.2 kB / 1.207 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.4947, allocations: 0.6547 MB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4964, allocations: 1.156 MB / 1.209 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009093/0.4973, allocations: 478.6 kB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.4979, allocations: 306.5 kB / 1.21 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.4986, allocations: 334.2 kB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.4988, allocations: 24 kB / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009121/0.4997, allocations: 295.7 kB / 1.21 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.5, allocations: 171.2 kB / 1.21 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.5006, allocations: 415.2 kB / 1.211 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5019, allocations: 1.013 MB / 1.212 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5019, allocations: 0 / 1.212 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.594e-06/0.502, allocations: 0 / 1.212 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.493e-05/0.502, allocations: 0 / 1.212 GB, free: 8.234 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.002436/0.5044, allocations: 1.103 MB / 1.213 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5045, allocations: 11.97 kB / 1.213 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.505, allocations: 107.7 kB / 1.213 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5061, allocations: 0.6955 MB / 1.214 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.5062, allocations: 46 kB / 1.214 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5063, allocations: 64 kB / 1.214 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.5077, allocations: 0.776 MB / 1.215 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5077, allocations: 3.938 kB / 1.215 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.5078, allocations: 28 kB / 1.215 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5078, allocations: 23.94 kB / 1.215 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.5093, allocations: 0.9728 MB / 1.216 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.5133, allocations: 2.501 MB / 1.218 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.5146, allocations: 0.6855 MB / 1.219 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.515, allocations: 251.3 kB / 1.219 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.5151, allocations: 36.5 kB / 1.219 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007448/0.5158, allocations: 423.5 kB / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.5158, allocations: 0 / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001589/0.5174, allocations: 0.83 MB / 1.22 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5176, allocations: 247.8 kB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.5185, allocations: 0.6333 MB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.5186, allocations: 45.64 kB / 1.221 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.5189, allocations: 348.5 kB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.5191, allocations: 232.7 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.5192, allocations: 65.67 kB / 1.222 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5193, allocations: 386.8 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.5197, allocations: 217.9 kB / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.5202, allocations: 333.4 kB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.521, allocations: 0.5251 MB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.521, allocations: 0 / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001243/0.5223, allocations: 0.6837 MB / 1.224 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5223, allocations: 4 kB / 1.224 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.5223, allocations: 4.062 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.5224, allocations: 8 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.5229, allocations: 139.8 kB / 1.224 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.523, allocations: 7.938 kB / 1.224 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.5237, allocations: 103.5 kB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.5237, allocations: 35.98 kB / 1.224 GB, free: 11.3 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.0004325/0.5242, allocations: 255.4 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.5243, allocations: 83.06 kB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.5259, allocations: 0.8446 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.526, allocations: 12 kB / 1.225 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.526, allocations: 3.938 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.526, allocations: 7.984 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5273, allocations: 0.9675 MB / 1.226 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5274, allocations: 0 / 1.226 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5278, allocations: 123.8 kB / 1.226 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.5278, allocations: 7.938 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.5279, allocations: 27.97 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5279, allocations: 0 / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5279, allocations: 8.031 kB / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5291, allocations: 0.7238 MB / 1.227 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5294, allocations: 275.7 kB / 1.227 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.5296, allocations: 20 kB / 1.227 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.5302, allocations: 73.47 kB / 1.227 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.5303, allocations: 56.58 kB / 1.227 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.5304, allocations: 35.91 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006148/0.531, allocations: 451 kB / 1.228 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.184e-06/0.531, allocations: 0 / 1.228 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007782/0.5318, allocations: 279.4 kB / 1.228 GB, free: 6.969 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.001498/0.5333, allocations: 0.6012 MB / 1.229 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.5344, allocations: 0.5794 MB / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5344, allocations: 0 / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.5349, allocations: 327.5 kB / 1.23 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5361, allocations: 247.5 kB / 1.23 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.5389, allocations: 1.826 MB / 1.232 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.5396, allocations: 0.9799 MB / 1.233 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5399, allocations: 103.4 kB / 1.233 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3.627e-06/0.5399, allocations: 0 / 1.233 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of Templates: time 0.02299/0.5629, allocations: 13.38 MB / 1.246 GB, free: 5.109 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