Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108 kB / 15.6 MB, free: 132 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.001255/0.001255, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4909, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005714/0.4967, allocations: 4.522 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.6346, allocations: 150.6 MB / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.6352, allocations: 19.88 kB / 1.169 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.6357, allocations: 174.4 kB / 1.169 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.6373, allocations: 0.518 MB / 1.17 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.6388, allocations: 0.7493 MB / 1.17 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6399, allocations: 1.234 MB / 1.171 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.6406, allocations: 0.4947 MB / 1.172 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.641, allocations: 414.5 kB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.6415, allocations: 426.1 kB / 1.173 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.6417, allocations: 96 kB / 1.173 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.6423, allocations: 375.7 kB / 1.173 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.6425, allocations: 255.1 kB / 1.173 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.6429, allocations: 493.5 kB / 1.174 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.6441, allocations: 1.367 MB / 1.175 GB, free: 176 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6441, allocations: 0 / 1.175 GB, free: 176 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6441, allocations: 4 kB / 1.175 GB, free: 172 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.6442, allocations: 0 / 1.175 GB, free: 172 kB / 0.92 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.001962/0.6461, allocations: 1.29 MB / 1.177 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.6462, allocations: 12.03 kB / 1.177 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.6463, allocations: 110.7 kB / 1.177 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.6466, allocations: 107.7 kB / 1.177 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.6474, allocations: 0.6992 MB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.6475, allocations: 50 kB / 1.177 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.6475, allocations: 64 kB / 1.178 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6486, allocations: 0.776 MB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6486, allocations: 0 / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.6487, allocations: 28 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.6487, allocations: 20 kB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6499, allocations: 0.9689 MB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.6527, allocations: 2.486 MB / 1.182 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6537, allocations: 0.6889 MB / 1.182 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.6541, allocations: 247.3 kB / 1.183 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.6542, allocations: 36.5 kB / 1.183 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.6548, allocations: 422.2 kB / 1.183 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.984e-06/0.6548, allocations: 4 kB / 1.183 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.0013/0.6561, allocations: 0.8299 MB / 1.184 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.6562, allocations: 251.9 kB / 1.184 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.6568, allocations: 0.6216 MB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.6569, allocations: 45.64 kB / 1.185 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.6571, allocations: 364.5 kB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.6573, allocations: 224.8 kB / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.6575, allocations: 134.2 kB / 1.185 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6576, allocations: 386.8 kB / 1.186 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.6579, allocations: 201.2 kB / 1.186 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.6583, allocations: 329.3 kB / 1.186 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.659, allocations: 0.4939 MB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.659, allocations: 0 / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009342/0.66, allocations: 0.6369 MB / 1.187 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.66, allocations: 8 kB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.66, allocations: 160 / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.66, allocations: 8 kB / 1.187 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.6605, allocations: 135.7 kB / 1.188 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.6605, allocations: 8 kB / 1.188 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.661, allocations: 79.39 kB / 1.188 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.661, allocations: 27.98 kB / 1.188 GB, free: 3.004 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (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 (80): * Single equations (assignments): 80 * 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.0002748/0.6613, allocations: 254.3 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6614, allocations: 79.05 kB / 1.188 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.6628, allocations: 0.8525 MB / 1.189 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6628, allocations: 19.88 kB / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6628, allocations: 0 / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6629, allocations: 3.984 kB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.6638, allocations: 0.9675 MB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6638, allocations: 3.938 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.6642, allocations: 123.8 kB / 1.19 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6642, allocations: 4 kB / 1.19 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.6642, allocations: 23.97 kB / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6642, allocations: 11.97 kB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6643, allocations: 0 / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.6653, allocations: 0.7278 MB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.6655, allocations: 263.8 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6656, allocations: 20 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.6661, allocations: 69.66 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.6662, allocations: 56.58 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.6663, allocations: 27.98 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004621/0.6668, allocations: 455 kB / 1.192 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6668, allocations: 0 / 1.192 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005593/0.6673, allocations: 271.4 kB / 1.192 GB, free: 14.68 MB / 0.9512 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.002272/0.6696, allocations: 1.796 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.6709, allocations: 0.7238 MB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6709, allocations: 0 / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.6713, allocations: 323.9 kB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.6723, allocations: 277.3 kB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.6785, allocations: 5.71 MB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.679, allocations: 0.9719 MB / 1.201 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006/0.6796, allocations: 246.3 kB / 1.202 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.68, allocations: 331.3 kB / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.68, allocations: 0 / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.7155, allocations: 18.5 MB / 1.22 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.771, allocations: 18.92 kB / 1.22 GB, free: 2.133 MB / 0.9669 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches