Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.004517/0.004517, allocations: 97.69 kB / 15.73 MB, free: 6 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.001053/0.001053, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.89 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2674, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005623/0.2731, allocations: 4.526 MB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7178/0.9909, allocations: 150.6 MB / 1.371 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.9917, allocations: 15.47 kB / 1.371 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.9923, allocations: 180.5 kB / 1.371 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.9941, allocations: 0.512 MB / 1.372 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.9958, allocations: 0.7654 MB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.9972, allocations: 1.246 MB / 1.374 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.998, allocations: 0.4926 MB / 1.374 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.9987, allocations: 415.5 kB / 1.375 GB, free: 9.902 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.9993, allocations: 423.5 kB / 1.375 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.9995, allocations: 97.03 kB / 1.375 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/1, allocations: 405.6 kB / 1.376 GB, free: 9.586 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/1, allocations: 257.4 kB / 1.376 GB, free: 9.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000516/1.001, allocations: 490.6 kB / 1.376 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/1.003, allocations: 1.41 MB / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.003, allocations: 0 / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.986e-06/1.003, allocations: 0 / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.724e-05/1.003, allocations: 3.938 kB / 1.378 GB, free: 8.492 MB / 1.076 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.002558/1.005, allocations: 1.313 MB / 1.379 GB, free: 7.539 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.005, allocations: 9.031 kB / 1.379 GB, free: 7.539 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/1.006, allocations: 114.5 kB / 1.379 GB, free: 7.441 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/1.006, allocations: 122 kB / 1.379 GB, free: 7.375 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.007, allocations: 0.7243 MB / 1.38 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/1.007, allocations: 48.91 kB / 1.38 GB, free: 6.754 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/1.007, allocations: 67.81 kB / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.009, allocations: 0.7752 MB / 1.381 GB, free: 6.195 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.009, allocations: 1.094 kB / 1.381 GB, free: 6.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/1.009, allocations: 27.12 kB / 1.381 GB, free: 6.176 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/1.009, allocations: 21.89 kB / 1.381 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/1.01, allocations: 0.9703 MB / 1.382 GB, free: 5.711 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/1.013, allocations: 2.465 MB / 1.384 GB, free: 3.695 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.015, allocations: 0.6855 MB / 1.385 GB, free: 3.332 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/1.015, allocations: 259.6 kB / 1.385 GB, free: 3.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.376e-05/1.015, allocations: 29.27 kB / 1.385 GB, free: 3.176 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/1.016, allocations: 428.4 kB / 1.385 GB, free: 2.898 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/1.016, allocations: 1.156 kB / 1.386 GB, free: 2.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.001506/1.017, allocations: 0.8356 MB / 1.386 GB, free: 2.484 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.017, allocations: 245.1 kB / 1.387 GB, free: 2.195 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/1.018, allocations: 0.6278 MB / 1.387 GB, free: 1.828 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/1.018, allocations: 42.19 kB / 1.387 GB, free: 1.785 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/1.019, allocations: 376.2 kB / 1.388 GB, free: 1.453 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.019, allocations: 226.6 kB / 1.388 GB, free: 1.258 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/1.019, allocations: 143.9 kB / 1.388 GB, free: 1.168 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.019, allocations: 376.7 kB / 1.388 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/1.019, allocations: 201.4 kB / 1.388 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/1.02, allocations: 328.3 kB / 1.389 GB, free: 492 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/1.021, allocations: 0.4991 MB / 1.389 GB, free: 204 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.021, allocations: 0 / 1.389 GB, free: 204 kB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001111/1.022, allocations: 0.6384 MB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.022, allocations: 9.25 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.022, allocations: 4.016 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.022, allocations: 5.062 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/1.022, allocations: 133.3 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.022, allocations: 8.594 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/1.023, allocations: 89.48 kB / 1.39 GB, free: 15.78 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/1.023, allocations: 27.11 kB / 1.39 GB, free: 15.77 MB / 1.092 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.0003243/1.023, allocations: 254.4 kB / 1.39 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/1.024, allocations: 85.77 kB / 1.39 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.025, allocations: 0.8531 MB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.025, allocations: 8.344 kB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.025, allocations: 5.344 kB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.025, allocations: 7.984 kB / 1.391 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.027, allocations: 0.9694 MB / 1.392 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.027, allocations: 0 / 1.392 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/1.027, allocations: 123.9 kB / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/1.027, allocations: 10.97 kB / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/1.027, allocations: 23.89 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.027, allocations: 4.188 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.027, allocations: 0 / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.029, allocations: 0.7399 MB / 1.393 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/1.029, allocations: 264.8 kB / 1.393 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/1.029, allocations: 21.78 kB / 1.393 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/1.03, allocations: 59.22 kB / 1.393 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.03, allocations: 66.22 kB / 1.394 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/1.03, allocations: 27.67 kB / 1.394 GB, free: 13.48 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006074/1.031, allocations: 460.9 kB / 1.394 GB, free: 13.22 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.2e-07/1.031, allocations: 0 / 1.394 GB, free: 13.22 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007829/1.031, allocations: 267.1 kB / 1.394 GB, free: 13.15 MB / 1.092 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.002786/1.034, allocations: 1.791 MB / 1.396 GB, free: 12.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009516/1.035, allocations: 0.5513 MB / 1.397 GB, free: 11.78 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.035, allocations: 1.406 kB / 1.397 GB, free: 11.78 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/1.036, allocations: 324 kB / 1.397 GB, free: 11.65 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.037, allocations: 277.2 kB / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/1.045, allocations: 5.544 MB / 1.403 GB, free: 8.031 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/1.045, allocations: 0.9809 MB / 1.404 GB, free: 7.199 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007702/1.046, allocations: 252.5 kB / 1.404 GB, free: 7.074 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/1.047, allocations: 331.2 kB / 1.404 GB, free: 6.816 MB / 1.092 GB Notification: Performance of SimCode: time 9.62e-07/1.047, allocations: 0 / 1.404 GB, free: 6.816 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/1.089, allocations: 18.66 MB / 1.422 GB, free: 6.434 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/9.681, allocations: 9.859 kB / 1.422 GB, free: 6.43 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14653.4 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches