Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_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_latest_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.00107/0.00107, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008485/0.008485, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 8.125 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005682/0.3341, allocations: 4.124 MB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.4951, allocations: 146.7 MB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.4958, allocations: 15.94 kB / 1.206 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.4963, allocations: 138.9 kB / 1.206 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.4976, allocations: 438.7 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4992, allocations: 0.6532 MB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.5004, allocations: 1.16 MB / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.5012, allocations: 478.6 kB / 1.209 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.5017, allocations: 298.5 kB / 1.209 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.5022, allocations: 334.2 kB / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.509e-05/0.5023, allocations: 24 kB / 1.209 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.5031, allocations: 299.7 kB / 1.21 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.5033, allocations: 167.2 kB / 1.21 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.5037, allocations: 419.2 kB / 1.21 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.505, allocations: 1.277 MB / 1.211 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.505, allocations: 0 / 1.211 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.747e-06/0.505, allocations: 0 / 1.211 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.505, allocations: 3.938 kB / 1.211 GB, free: 7.957 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.001945/0.5069, allocations: 1.102 MB / 1.212 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.507, allocations: 11.97 kB / 1.212 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.5073, allocations: 107.7 kB / 1.213 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.5083, allocations: 0.6916 MB / 1.213 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.5083, allocations: 50 kB / 1.213 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.5084, allocations: 67.98 kB / 1.213 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5096, allocations: 0.772 MB / 1.214 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5097, allocations: 4 kB / 1.214 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.5097, allocations: 32 kB / 1.214 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.5098, allocations: 16 kB / 1.214 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.5111, allocations: 0.9728 MB / 1.215 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.5144, allocations: 2.51 MB / 1.218 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5155, allocations: 0.676 MB / 1.218 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.5159, allocations: 255.2 kB / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/0.516, allocations: 32.52 kB / 1.218 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.5167, allocations: 423.6 kB / 1.219 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.5167, allocations: 0 / 1.219 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001459/0.5181, allocations: 0.8376 MB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5183, allocations: 248 kB / 1.22 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.519, allocations: 0.633 MB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.5191, allocations: 41.7 kB / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.5194, allocations: 352.5 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5196, allocations: 228.7 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.5197, allocations: 61.69 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5199, allocations: 390.8 kB / 1.222 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.5202, allocations: 225.8 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.5207, allocations: 329.4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.5215, allocations: 0.5251 MB / 1.223 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5215, allocations: 0 / 1.223 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001164/0.5227, allocations: 0.6799 MB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5227, allocations: 8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5227, allocations: 4 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5228, allocations: 11.97 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.5233, allocations: 151.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5233, allocations: 7.938 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.5239, allocations: 95.48 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.524, allocations: 35.97 kB / 1.224 GB, free: 11.02 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.0003536/0.5244, allocations: 257 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5245, allocations: 75.06 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.526, allocations: 0.8447 MB / 1.225 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.526, allocations: 15.88 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.526, allocations: 7.938 kB / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5261, allocations: 7.984 kB / 1.225 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5272, allocations: 0.9636 MB / 1.226 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5272, allocations: 0 / 1.226 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.5276, allocations: 123.8 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5276, allocations: 7.938 kB / 1.226 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.5277, allocations: 23.98 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.5277, allocations: 8.031 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5277, allocations: 0 / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.5288, allocations: 0.7277 MB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.5292, allocations: 279.7 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5293, allocations: 12 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.5298, allocations: 71.94 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.53, allocations: 60.56 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.53, allocations: 27.98 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000542/0.5306, allocations: 455 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5306, allocations: 8 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007277/0.5313, allocations: 267.5 kB / 1.228 GB, free: 6.691 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.001392/0.5327, allocations: 0.6025 MB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009815/0.5337, allocations: 0.5794 MB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5337, allocations: 0 / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.5342, allocations: 327.9 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5354, allocations: 260.7 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.5379, allocations: 1.793 MB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5384, allocations: 0.9721 MB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000713/0.5391, allocations: 246.3 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5394, allocations: 99.39 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.5394, allocations: 0 / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of Templates: time 0.02281/0.5622, allocations: 12.14 MB / 1.244 GB, free: 5.984 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches