Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 100.1 kB / 15.88 MB, free: 12 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.001594/0.001594, allocations: 200 kB / 16.79 MB, free: 6.828 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.11 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3125, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.00644/0.319, allocations: 4.539 MB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1626/0.4816, allocations: 148.2 MB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4827, allocations: 15.94 kB / 1.202 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009402/0.4837, allocations: 150.9 kB / 1.202 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.4862, allocations: 425.5 kB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.4884, allocations: 0.6554 MB / 1.203 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.4903, allocations: 1.156 MB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.4914, allocations: 493.1 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007554/0.4922, allocations: 350.5 kB / 1.205 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.493, allocations: 402.8 kB / 1.205 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.4932, allocations: 40 kB / 1.205 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4942, allocations: 319.7 kB / 1.206 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.4946, allocations: 199.2 kB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.4952, allocations: 433.4 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4968, allocations: 1.045 MB / 1.207 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.4968, allocations: 0 / 1.207 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4968, allocations: 0 / 1.207 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.4969, allocations: 0 / 1.207 GB, free: 9.332 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.003318/0.5002, allocations: 1.277 MB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5003, allocations: 15.95 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.5007, allocations: 107.7 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.502, allocations: 0.6916 MB / 1.209 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.5021, allocations: 50 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5022, allocations: 64 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.5037, allocations: 0.776 MB / 1.21 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.5038, allocations: 7.938 kB / 1.21 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.5038, allocations: 28 kB / 1.21 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.5039, allocations: 16 kB / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5054, allocations: 0.9728 MB / 1.211 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.5096, allocations: 2.486 MB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.5109, allocations: 0.6809 MB / 1.214 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.5114, allocations: 251.2 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.5115, allocations: 28.52 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007516/0.5122, allocations: 430.3 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 4.097e-06/0.5123, allocations: 4 kB / 1.215 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001747/0.514, allocations: 0.8338 MB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.5142, allocations: 247.8 kB / 1.216 GB, free: 64 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5152, allocations: 0.6214 MB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.5153, allocations: 45.8 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.5157, allocations: 360.4 kB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.5159, allocations: 228.7 kB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.5162, allocations: 154.7 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5164, allocations: 386.8 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.5168, allocations: 217.9 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.5173, allocations: 329.4 kB / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.5182, allocations: 0.525 MB / 1.219 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5183, allocations: 4 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001328/0.5196, allocations: 0.676 MB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5196, allocations: 13.86 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5196, allocations: 4 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5197, allocations: 4 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.5202, allocations: 139.8 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.5203, allocations: 7.938 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.5209, allocations: 87.33 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.521, allocations: 39.91 kB / 1.22 GB, free: 12.17 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.0004188/0.5215, allocations: 259.4 kB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.5217, allocations: 86.91 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.5233, allocations: 0.8447 MB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.5233, allocations: 12 kB / 1.221 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5233, allocations: 7.922 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.5234, allocations: 3.984 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5245, allocations: 0.9597 MB / 1.222 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5246, allocations: 4 kB / 1.222 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.525, allocations: 119.9 kB / 1.222 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.525, allocations: 3.969 kB / 1.222 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.5251, allocations: 27.98 kB / 1.222 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5251, allocations: 7.938 kB / 1.222 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5251, allocations: 0 / 1.222 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.5263, allocations: 0.7315 MB / 1.223 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5266, allocations: 255.8 kB / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5267, allocations: 20 kB / 1.223 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.5273, allocations: 61.31 kB / 1.223 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5274, allocations: 56.56 kB / 1.223 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.5275, allocations: 31.98 kB / 1.223 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005652/0.528, allocations: 459 kB / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.528, allocations: 0 / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007447/0.5288, allocations: 267.5 kB / 1.224 GB, free: 7.871 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.001445/0.5303, allocations: 0.6054 MB / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.5313, allocations: 0.5755 MB / 1.225 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5313, allocations: 0 / 1.225 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.5318, allocations: 319.6 kB / 1.225 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5329, allocations: 271.5 kB / 1.226 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.5357, allocations: 1.814 MB / 1.227 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.5364, allocations: 0.9799 MB / 1.228 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.5367, allocations: 103.4 kB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.5367, allocations: 4 kB / 1.228 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.02131/0.558, allocations: 13.45 MB / 1.242 GB, free: 5.949 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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