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.001353/0.001357, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001573/0.001573, allocations: 195 kB / 16.14 MB, free: 6.645 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.526/2.526, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7801, allocations: 140.4 MB / 0.9489 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004908/0.785, allocations: 4.278 MB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.9669, allocations: 148.2 MB / 1.098 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.9682, allocations: 19.88 kB / 1.098 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.9692, allocations: 135 kB / 1.098 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.9718, allocations: 413.3 kB / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.9743, allocations: 0.6459 MB / 1.099 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.9762, allocations: 1.125 MB / 1.1 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.9774, allocations: 0.4906 MB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.9785, allocations: 346.5 kB / 1.101 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.9799, allocations: 387.5 kB / 1.101 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.9803, allocations: 44 kB / 1.101 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.9819, allocations: 331.6 kB / 1.102 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.9824, allocations: 199.2 kB / 1.102 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000899/0.9833, allocations: 425.5 kB / 1.102 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.986, allocations: 1.305 MB / 1.104 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9861, allocations: 0 / 1.104 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9861, allocations: 4 kB / 1.104 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.584e-05/0.9861, allocations: 0 / 1.104 GB, free: 3.359 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.003473/0.9896, allocations: 1.273 MB / 1.105 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9897, allocations: 8.031 kB / 1.105 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.9902, allocations: 107.7 kB / 1.105 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.9919, allocations: 0.6955 MB / 1.106 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.9919, allocations: 50 kB / 1.106 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.9921, allocations: 71.98 kB / 1.106 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.9942, allocations: 0.772 MB / 1.106 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.9942, allocations: 4 kB / 1.106 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.9943, allocations: 24 kB / 1.106 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.9944, allocations: 20 kB / 1.106 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.9965, allocations: 0.9728 MB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/1.002, allocations: 2.48 MB / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.003, allocations: 0.6877 MB / 1.111 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/1.004, allocations: 255.2 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.743e-05/1.004, allocations: 28.52 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/1.005, allocations: 422.3 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.537e-06/1.005, allocations: 0 / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.002214/1.007, allocations: 0.835 MB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/1.008, allocations: 243.9 kB / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.009, allocations: 0.6369 MB / 1.113 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/1.009, allocations: 41.7 kB / 1.113 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.009, allocations: 348.5 kB / 1.113 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/1.01, allocations: 236.9 kB / 1.113 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/1.01, allocations: 154.5 kB / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.01, allocations: 382.7 kB / 1.114 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/1.011, allocations: 221.9 kB / 1.114 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/1.012, allocations: 333.4 kB / 1.114 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.013, allocations: 0.5173 MB / 1.115 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.013, allocations: 0 / 1.115 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0019/1.015, allocations: 0.6877 MB / 1.116 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.015, allocations: 8 kB / 1.116 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.015, allocations: 0 / 1.116 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.015, allocations: 4 kB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/1.016, allocations: 147.7 kB / 1.116 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/1.016, allocations: 11.88 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.017, allocations: 88.92 kB / 1.116 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.017, allocations: 32.08 kB / 1.116 GB, free: 6.199 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.000683/1.018, allocations: 267.3 kB / 1.116 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/1.018, allocations: 75.06 kB / 1.116 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.02, allocations: 0.8486 MB / 1.117 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.02, allocations: 8 kB / 1.117 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.02, allocations: 3.938 kB / 1.117 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.02, allocations: 3.984 kB / 1.117 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.022, allocations: 0.9636 MB / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.022, allocations: 0 / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/1.023, allocations: 127.8 kB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/1.023, allocations: 7.938 kB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/1.023, allocations: 23.98 kB / 1.118 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.023, allocations: 4 kB / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.023, allocations: 0 / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/1.025, allocations: 0.7316 MB / 1.119 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/1.025, allocations: 259.8 kB / 1.119 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/1.026, allocations: 20 kB / 1.119 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007795/1.026, allocations: 55.94 kB / 1.119 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.027, allocations: 60.5 kB / 1.119 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/1.027, allocations: 31.98 kB / 1.119 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009376/1.028, allocations: 455 kB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.5e-07/1.028, allocations: 4 kB / 1.12 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001125/1.029, allocations: 267.4 kB / 1.12 GB, free: 1.895 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.002254/1.031, allocations: 0.6095 MB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.033, allocations: 0.5794 MB / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.033, allocations: 0 / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/1.034, allocations: 323.6 kB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.035, allocations: 245.9 kB / 1.122 GB, free: 344 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/1.039, allocations: 1.766 MB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.04, allocations: 0.9799 MB / 1.124 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00128/1.042, allocations: 250.2 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/1.042, allocations: 107.4 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of SimCode: time 1.413e-06/1.042, allocations: 0 / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.02548/1.067, allocations: 11.9 MB / 1.136 GB, free: 1.441 MB / 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