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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 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.001751/0.001751, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 472.6 MB / 0.7451 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.81 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3369, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.00693/0.3439, allocations: 4.523 MB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.5144, allocations: 150.6 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5156, allocations: 19.88 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.5163, allocations: 162.4 kB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.5183, allocations: 0.5123 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5204, allocations: 0.7512 MB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.5217, allocations: 1.238 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007001/0.5224, allocations: 0.4947 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.5229, allocations: 406.6 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.5234, allocations: 430.1 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5235, allocations: 100 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.5243, allocations: 371.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.5246, allocations: 263.2 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.525, allocations: 481.5 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.5264, allocations: 1.371 MB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5264, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5264, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5264, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 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.002014/0.5284, allocations: 1.269 MB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5285, allocations: 12.03 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.5288, allocations: 115.5 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008872/0.5297, allocations: 0.6879 MB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.5297, allocations: 50 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.5298, allocations: 68 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5309, allocations: 0.7798 MB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.531, allocations: 0 / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.531, allocations: 35.98 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.531, allocations: 16 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5323, allocations: 0.9689 MB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.5355, allocations: 2.482 MB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5366, allocations: 0.6838 MB / 1.233 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.5369, allocations: 247.3 kB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.537, allocations: 32.5 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006694/0.5377, allocations: 426.3 kB / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5377, allocations: 0 / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.00141/0.5391, allocations: 0.8311 MB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5392, allocations: 247.8 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.5399, allocations: 0.6331 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.54, allocations: 41.83 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.5402, allocations: 356.5 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5404, allocations: 228.8 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.5406, allocations: 150.5 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5408, allocations: 382.8 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.5411, allocations: 221.9 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.5416, allocations: 341.4 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.5424, allocations: 0.5172 MB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5424, allocations: 0 / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00111/0.5436, allocations: 0.6916 MB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5436, allocations: 4 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5436, allocations: 0 / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5436, allocations: 4 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.5442, allocations: 151.8 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5442, allocations: 7.938 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.5448, allocations: 96.8 kB / 1.238 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.5449, allocations: 27.98 kB / 1.238 GB, free: 10.97 MB / 0.9981 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.000347/0.5452, allocations: 265.1 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5453, allocations: 75.06 kB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.5468, allocations: 0.8407 MB / 1.24 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.5468, allocations: 8 kB / 1.24 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5469, allocations: 3.938 kB / 1.24 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5469, allocations: 7.984 kB / 1.24 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5479, allocations: 0.9715 MB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5479, allocations: 0 / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.5484, allocations: 123.8 kB / 1.241 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5484, allocations: 7.938 kB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.5484, allocations: 23.98 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5484, allocations: 4 kB / 1.241 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5484, allocations: 0 / 1.241 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5495, allocations: 0.7394 MB / 1.241 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.5498, allocations: 255.8 kB / 1.242 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.55, allocations: 20 kB / 1.242 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.5504, allocations: 51.94 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5506, allocations: 64.52 kB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.5506, allocations: 31.97 kB / 1.242 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005055/0.5511, allocations: 455 kB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5511, allocations: 0 / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007658/0.5519, allocations: 283.3 kB / 1.243 GB, free: 6.66 MB / 0.9981 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.001383/0.5533, allocations: 0.6001 MB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.5549, allocations: 0.759 MB / 1.244 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.257e-06/0.5549, allocations: 320 / 1.244 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.5554, allocations: 331.5 kB / 1.244 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.5566, allocations: 266.4 kB / 1.244 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.5592, allocations: 1.44 MB / 1.246 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.5597, allocations: 0.9766 MB / 1.247 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006901/0.5604, allocations: 258.1 kB / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.5606, allocations: 99.39 kB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.5606, allocations: 0 / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of Templates: time 0.5723/1.133, allocations: 12.71 MB / 1.26 GB, free: 182.9 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