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.001115/0.001115, allocations: 98.72 kB / 16.02 MB, free: 76 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.001559/0.001559, allocations: 180.3 kB / 16.92 MB, free: 6.918 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.585/1.585, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 462.6 MB / 0.7371 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 9.906 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005117/0.3162, allocations: 4.132 MB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.4749, allocations: 146.6 MB / 1.207 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.4758, allocations: 15.88 kB / 1.207 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.4766, allocations: 143 kB / 1.207 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.4785, allocations: 424.9 kB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.4805, allocations: 0.6598 MB / 1.208 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.4822, allocations: 1.148 MB / 1.209 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.4832, allocations: 488.5 kB / 1.209 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.4838, allocations: 302.5 kB / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.4845, allocations: 338.1 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.4847, allocations: 24 kB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.4855, allocations: 291.7 kB / 1.21 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.4858, allocations: 171.2 kB / 1.21 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.4864, allocations: 419.2 kB / 1.211 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.4878, allocations: 1.013 MB / 1.212 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4878, allocations: 0 / 1.212 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4878, allocations: 0 / 1.212 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.173e-05/0.4878, allocations: 4 kB / 1.212 GB, free: 8.129 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.002501/0.4903, allocations: 1.086 MB / 1.213 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4904, allocations: 15.97 kB / 1.213 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.4908, allocations: 111.7 kB / 1.213 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.4921, allocations: 0.6955 MB / 1.214 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.4921, allocations: 50 kB / 1.214 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4923, allocations: 64 kB / 1.214 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4937, allocations: 0.7823 MB / 1.215 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4937, allocations: 0 / 1.215 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.4938, allocations: 28 kB / 1.215 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4939, allocations: 16 kB / 1.215 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.4953, allocations: 0.9728 MB / 1.216 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.4992, allocations: 2.51 MB / 1.218 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5004, allocations: 0.6838 MB / 1.219 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.5008, allocations: 247.3 kB / 1.219 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.527e-05/0.5009, allocations: 28.52 kB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007109/0.5016, allocations: 435.5 kB / 1.219 GB, free: 168 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 3.456e-06/0.5016, allocations: 0 / 1.219 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001597/0.5032, allocations: 0.83 MB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.5034, allocations: 247.8 kB / 1.22 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.5043, allocations: 0.6292 MB / 1.221 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.5043, allocations: 41.7 kB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.5047, allocations: 352.5 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.5049, allocations: 224.9 kB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.505, allocations: 73.61 kB / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5052, allocations: 382.8 kB / 1.222 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.5055, allocations: 221.9 kB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.506, allocations: 333.3 kB / 1.223 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.5068, allocations: 0.5173 MB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5068, allocations: 0 / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001152/0.508, allocations: 0.6917 MB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.508, allocations: 4 kB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5081, allocations: 4.062 kB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5081, allocations: 11.94 kB / 1.224 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.5086, allocations: 139.8 kB / 1.224 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.5087, allocations: 11.88 kB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.5094, allocations: 103.4 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.5095, allocations: 35.98 kB / 1.224 GB, free: 11.2 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.000433/0.5099, allocations: 255.4 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.5101, allocations: 79.06 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.5117, allocations: 0.8446 MB / 1.225 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5117, allocations: 8 kB / 1.225 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5117, allocations: 7.938 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5117, allocations: 3.984 kB / 1.225 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.513, allocations: 0.9675 MB / 1.226 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.513, allocations: 4 kB / 1.226 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.5135, allocations: 123.8 kB / 1.226 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5135, allocations: 3.938 kB / 1.226 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.5136, allocations: 27.97 kB / 1.226 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5136, allocations: 4 kB / 1.226 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5136, allocations: 0 / 1.226 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5147, allocations: 0.7278 MB / 1.227 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.5151, allocations: 275.7 kB / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5153, allocations: 23.94 kB / 1.227 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.5159, allocations: 74.17 kB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.516, allocations: 56.58 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.5161, allocations: 31.97 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005635/0.5166, allocations: 451 kB / 1.228 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5167, allocations: 0 / 1.228 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008146/0.5175, allocations: 275.4 kB / 1.228 GB, free: 6.875 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.001523/0.519, allocations: 0.6096 MB / 1.229 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.5201, allocations: 0.5794 MB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5201, allocations: 0 / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.5206, allocations: 323.6 kB / 1.23 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5219, allocations: 250.4 kB / 1.23 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.5248, allocations: 1.832 MB / 1.232 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.5254, allocations: 0.9799 MB / 1.233 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5257, allocations: 107.4 kB / 1.233 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/0.5257, allocations: 0 / 1.233 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of Templates: time 0.02275/0.5484, allocations: 13.37 MB / 1.246 GB, free: 5.039 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