Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001188/0.001188, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009488/0.009488, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.661/1.661, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.028/3.028, allocations: 470.6 MB / 0.7441 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003813, allocations: 12.53 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4343, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006457/0.4408, allocations: 4.123 MB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2101/0.6509, allocations: 146.6 MB / 1.217 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.652, allocations: 11.94 kB / 1.217 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.6528, allocations: 146.9 kB / 1.217 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.6548, allocations: 434 kB / 1.218 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.657, allocations: 0.6635 MB / 1.218 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.6588, allocations: 1.152 MB / 1.219 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009564/0.6598, allocations: 474.6 kB / 1.22 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.6604, allocations: 302.5 kB / 1.22 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.6611, allocations: 334.2 kB / 1.221 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.6612, allocations: 28 kB / 1.221 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/0.662, allocations: 299.7 kB / 1.221 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.6623, allocations: 171.2 kB / 1.221 GB, free: 48 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.6629, allocations: 411.3 kB / 1.221 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.6647, allocations: 1.277 MB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6647, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6647, allocations: 3.938 kB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.868e-05/0.6647, allocations: 0 / 1.223 GB, free: 14.35 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.00252/0.6673, allocations: 1.094 MB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6673, allocations: 16.03 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.6677, allocations: 107.7 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.669, allocations: 0.6916 MB / 1.224 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.6691, allocations: 53.98 kB / 1.225 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6692, allocations: 68 kB / 1.225 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.6707, allocations: 0.7759 MB / 1.225 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.6707, allocations: 0 / 1.225 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.6708, allocations: 32 kB / 1.225 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6708, allocations: 16 kB / 1.225 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.6724, allocations: 0.9767 MB / 1.226 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.6765, allocations: 2.509 MB / 1.229 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.6778, allocations: 0.6876 MB / 1.229 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.6783, allocations: 247.3 kB / 1.23 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/0.6784, allocations: 28.53 kB / 1.23 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000799/0.6792, allocations: 419.6 kB / 1.23 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.415e-06/0.6792, allocations: 0 / 1.23 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001737/0.6809, allocations: 0.8415 MB / 1.231 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.6811, allocations: 243.8 kB / 1.231 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.6822, allocations: 0.6333 MB / 1.232 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/0.6823, allocations: 41.7 kB / 1.232 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6827, allocations: 364.3 kB / 1.232 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.6829, allocations: 220.8 kB / 1.232 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.683, allocations: 61.69 kB / 1.232 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.6833, allocations: 382.8 kB / 1.233 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.6837, allocations: 221.9 kB / 1.233 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.6843, allocations: 341.4 kB / 1.233 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.6852, allocations: 0.5095 MB / 1.234 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6852, allocations: 4 kB / 1.234 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001306/0.6865, allocations: 0.6877 MB / 1.235 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6865, allocations: 4 kB / 1.235 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6865, allocations: 0 / 1.235 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.6866, allocations: 8 kB / 1.235 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.6872, allocations: 147.7 kB / 1.235 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.6873, allocations: 7.938 kB / 1.235 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.688, allocations: 101.7 kB / 1.235 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.6881, allocations: 35.97 kB / 1.235 GB, free: 1.422 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.0004652/0.6886, allocations: 251.4 kB / 1.235 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.6888, allocations: 83.16 kB / 1.235 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.6906, allocations: 0.8562 MB / 1.236 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6907, allocations: 8 kB / 1.236 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6907, allocations: 7.938 kB / 1.236 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6907, allocations: 3.984 kB / 1.236 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.6922, allocations: 0.9559 MB / 1.237 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6923, allocations: 4 kB / 1.237 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.6927, allocations: 123.8 kB / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.6928, allocations: 7.938 kB / 1.237 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.6928, allocations: 23.98 kB / 1.237 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.6928, allocations: 7.938 kB / 1.237 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6928, allocations: 0 / 1.237 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.6942, allocations: 0.7432 MB / 1.238 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.6947, allocations: 267.8 kB / 1.238 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.6948, allocations: 20 kB / 1.238 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.6954, allocations: 67.94 kB / 1.238 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6956, allocations: 60.56 kB / 1.238 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.6956, allocations: 27.98 kB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006747/0.6963, allocations: 459 kB / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6963, allocations: 0 / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008378/0.6972, allocations: 275.4 kB / 1.239 GB, free: 13.09 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.002236/0.6994, allocations: 0.6007 MB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.7008, allocations: 0.5833 MB / 1.24 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7008, allocations: 3.938 kB / 1.24 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.7013, allocations: 327.5 kB / 1.24 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.7027, allocations: 253.3 kB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.7059, allocations: 1.781 MB / 1.242 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.7067, allocations: 0.9839 MB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.7076, allocations: 250.3 kB / 1.244 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.7079, allocations: 95.39 kB / 1.244 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.153e-06/0.7079, allocations: 0 / 1.244 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.5899/1.298, allocations: 12.13 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches