Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.00183/0.00183, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.218/2.218, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.81 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2708, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006189/0.277, allocations: 4.282 MB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6713/0.9484, allocations: 148.3 MB / 1.099 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008196/0.9492, allocations: 19.81 kB / 1.099 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.9498, allocations: 133.5 kB / 1.099 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.9514, allocations: 429 kB / 1.099 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.9532, allocations: 0.6796 MB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.9547, allocations: 1.203 MB / 1.101 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.9555, allocations: 0.5077 MB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.9562, allocations: 402.2 kB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.9569, allocations: 425.2 kB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.9571, allocations: 97.03 kB / 1.103 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.9579, allocations: 375.4 kB / 1.103 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.9581, allocations: 259 kB / 1.103 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.9586, allocations: 482.8 kB / 1.104 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.96, allocations: 1.048 MB / 1.105 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9601, allocations: 2.484 kB / 1.105 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9601, allocations: 0.8438 kB / 1.105 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.9601, allocations: 0 / 1.105 GB, free: 4.668 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.002373/0.9625, allocations: 1.266 MB / 1.106 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9625, allocations: 9.438 kB / 1.106 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.9628, allocations: 106.6 kB / 1.106 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.9638, allocations: 0.6994 MB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.9639, allocations: 50.67 kB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.964, allocations: 65.45 kB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.9653, allocations: 0.7758 MB / 1.108 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.9653, allocations: 1.875 kB / 1.108 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.9654, allocations: 33.02 kB / 1.108 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.9654, allocations: 16.72 kB / 1.108 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.9672, allocations: 0.9706 MB / 1.109 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.9707, allocations: 2.48 MB / 1.111 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.9719, allocations: 0.682 MB / 1.112 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.9723, allocations: 251.2 kB / 1.112 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.9724, allocations: 30.97 kB / 1.112 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/0.9731, allocations: 421.8 kB / 1.112 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.325e-06/0.9731, allocations: 0 / 1.112 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001551/0.9747, allocations: 0.8414 MB / 1.113 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9748, allocations: 241.8 kB / 1.113 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/0.9756, allocations: 0.6295 MB / 1.114 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.9757, allocations: 41.23 kB / 1.114 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.976, allocations: 355.4 kB / 1.114 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.9761, allocations: 229.5 kB / 1.115 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.9764, allocations: 158.6 kB / 1.115 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.9765, allocations: 385.6 kB / 1.115 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.9769, allocations: 221.7 kB / 1.115 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.9774, allocations: 332.8 kB / 1.116 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.9781, allocations: 0.5204 MB / 1.116 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9781, allocations: 0 / 1.116 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001101/0.9792, allocations: 0.6843 MB / 1.117 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9793, allocations: 10.03 kB / 1.117 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.9793, allocations: 1.984 kB / 1.117 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.9793, allocations: 4.625 kB / 1.117 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.9799, allocations: 148.2 kB / 1.117 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.9799, allocations: 5.203 kB / 1.117 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.9806, allocations: 87.3 kB / 1.117 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.9806, allocations: 34.53 kB / 1.117 GB, free: 16.75 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.0003873/0.981, allocations: 265.9 kB / 1.117 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.9812, allocations: 77.25 kB / 1.117 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.9828, allocations: 0.8447 MB / 1.118 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.9828, allocations: 7.938 kB / 1.118 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9828, allocations: 2.016 kB / 1.118 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.9828, allocations: 7.922 kB / 1.118 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.9841, allocations: 0.9715 MB / 1.119 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9841, allocations: 1.031 kB / 1.119 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.9846, allocations: 122 kB / 1.119 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.9846, allocations: 7.438 kB / 1.119 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.9847, allocations: 28.62 kB / 1.119 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.9847, allocations: 3.188 kB / 1.119 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9847, allocations: 3.188 kB / 1.119 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9858, allocations: 0.7313 MB / 1.12 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.9861, allocations: 257.6 kB / 1.12 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.9862, allocations: 20.22 kB / 1.12 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.9867, allocations: 54.77 kB / 1.12 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9869, allocations: 65.52 kB / 1.12 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.9869, allocations: 27.52 kB / 1.12 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005168/0.9875, allocations: 455.2 kB / 1.121 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9875, allocations: 3.656 kB / 1.121 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008304/0.9883, allocations: 268.7 kB / 1.121 GB, free: 15.73 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.001325/0.9896, allocations: 0.6037 MB / 1.122 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.9912, allocations: 0.7597 MB / 1.122 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9912, allocations: 0 / 1.122 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.9916, allocations: 321.7 kB / 1.123 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.9927, allocations: 270.3 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.995, allocations: 1.803 MB / 1.125 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.9956, allocations: 0.9701 MB / 1.126 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.9958, allocations: 112.4 kB / 1.126 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of SimCode: time 1.042e-06/0.9959, allocations: 0 / 1.126 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.02323/1.019, allocations: 13.38 MB / 1.139 GB, free: 12.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches