Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001573/0.001574, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001879/0.001879, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001546, allocations: 59.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7394, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005754/0.7452, allocations: 4.278 MB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.9272, allocations: 148.3 MB / 1.098 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.9284, allocations: 19.88 kB / 1.098 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.929, allocations: 131 kB / 1.098 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.931, allocations: 433.4 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.9331, allocations: 0.6728 MB / 1.099 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.9346, allocations: 1.199 MB / 1.1 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.9354, allocations: 0.5115 MB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.9359, allocations: 406.5 kB / 1.101 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.9364, allocations: 422.1 kB / 1.102 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.9365, allocations: 96 kB / 1.102 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.9373, allocations: 379.7 kB / 1.102 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.9375, allocations: 255.2 kB / 1.102 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.9379, allocations: 481.5 kB / 1.103 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.9395, allocations: 1.351 MB / 1.104 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9395, allocations: 0 / 1.104 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9395, allocations: 0 / 1.104 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.9396, allocations: 0 / 1.104 GB, free: 2.605 MB / 0.8575 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.002319/0.9419, allocations: 1.277 MB / 1.105 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9419, allocations: 8.031 kB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.9423, allocations: 107.7 kB / 1.106 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009682/0.9432, allocations: 0.7033 MB / 1.106 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.9433, allocations: 46 kB / 1.106 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.9434, allocations: 64 kB / 1.106 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.9447, allocations: 0.7799 MB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9447, allocations: 0 / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.9448, allocations: 28 kB / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.9448, allocations: 16 kB / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.9461, allocations: 0.9689 MB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.9496, allocations: 2.484 MB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.9508, allocations: 0.686 MB / 1.111 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.9512, allocations: 251.2 kB / 1.111 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.9513, allocations: 36.5 kB / 1.112 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007219/0.952, allocations: 418.3 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/0.952, allocations: 4 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.00151/0.9535, allocations: 0.8311 MB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.9537, allocations: 247.8 kB / 1.113 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.9545, allocations: 0.6291 MB / 1.114 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.9546, allocations: 49.83 kB / 1.114 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.9549, allocations: 352.5 kB / 1.114 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.9551, allocations: 224.8 kB / 1.114 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.9553, allocations: 158.5 kB / 1.114 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9555, allocations: 386.7 kB / 1.115 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.9559, allocations: 221.9 kB / 1.115 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.9564, allocations: 337.4 kB / 1.115 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.9572, allocations: 0.5173 MB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9572, allocations: 4 kB / 1.116 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001158/0.9584, allocations: 0.6799 MB / 1.116 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9584, allocations: 8 kB / 1.116 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.9584, allocations: 3.984 kB / 1.116 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.9585, allocations: 11.97 kB / 1.116 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.959, allocations: 147.7 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.959, allocations: 7.938 kB / 1.117 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.9597, allocations: 83.55 kB / 1.117 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.9597, allocations: 39.97 kB / 1.117 GB, free: 5.43 MB / 0.8731 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.0003951/0.9601, allocations: 255.4 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.9603, allocations: 75.12 kB / 1.117 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.9619, allocations: 0.8485 MB / 1.118 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.9619, allocations: 8 kB / 1.118 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.9619, allocations: 3.938 kB / 1.118 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.9619, allocations: 3.984 kB / 1.118 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.963, allocations: 0.9753 MB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9631, allocations: 0 / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.9635, allocations: 123.8 kB / 1.119 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.9635, allocations: 7.938 kB / 1.119 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.9636, allocations: 23.98 kB / 1.119 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9636, allocations: 0 / 1.119 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9636, allocations: 4 kB / 1.119 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.9648, allocations: 0.7355 MB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.9651, allocations: 263.8 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.9652, allocations: 16 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.9657, allocations: 52.97 kB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9658, allocations: 56.58 kB / 1.12 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.9659, allocations: 35.97 kB / 1.12 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005308/0.9664, allocations: 455 kB / 1.121 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9664, allocations: 0 / 1.121 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007578/0.9672, allocations: 275.4 kB / 1.121 GB, free: 1.125 MB / 0.8731 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.001367/0.9686, allocations: 0.6003 MB / 1.121 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.9702, allocations: 0.7513 MB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9702, allocations: 4.312 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.9707, allocations: 323.6 kB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.9719, allocations: 270.8 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.9745, allocations: 1.761 MB / 1.124 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.9751, allocations: 0.9835 MB / 1.125 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007354/0.9759, allocations: 254.1 kB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.9761, allocations: 91.39 kB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.9761, allocations: 0 / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of Templates: time 0.02112/0.9972, allocations: 12.29 MB / 1.138 GB, free: 124 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches