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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001209/0.001209, 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.00116/0.00116, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 469.4 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 62.73 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2325, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005748/0.2383, allocations: 4.521 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.3753, allocations: 150.5 MB / 1.215 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.3761, allocations: 19.88 kB / 1.215 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006424/0.3767, allocations: 178.4 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.3785, allocations: 0.5075 MB / 1.216 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.3803, allocations: 0.7533 MB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3818, allocations: 1.234 MB / 1.218 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.3826, allocations: 498.6 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.3831, allocations: 410.6 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.3837, allocations: 430.1 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.3839, allocations: 96 kB / 1.219 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.3847, allocations: 371.7 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.3849, allocations: 263 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.3854, allocations: 489.5 kB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3869, allocations: 1.367 MB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3869, allocations: 0 / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3869, allocations: 0 / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.3869, allocations: 8 kB / 1.222 GB, free: 12.2 MB / 0.9825 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.002139/0.3891, allocations: 1.281 MB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3891, allocations: 8.031 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.3892, allocations: 122.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.3895, allocations: 107.7 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/0.3904, allocations: 0.6953 MB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.3905, allocations: 50 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.3906, allocations: 67.98 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3916, allocations: 0.7816 MB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3916, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.3917, allocations: 28 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.3917, allocations: 20 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3929, allocations: 0.9728 MB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.3958, allocations: 2.486 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3969, allocations: 0.6819 MB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.3972, allocations: 255.3 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.3973, allocations: 28.52 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.3979, allocations: 422.3 kB / 1.229 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 1.864e-06/0.3979, allocations: 0 / 1.229 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001337/0.3992, allocations: 0.835 MB / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3993, allocations: 248.1 kB / 1.23 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.4, allocations: 0.6331 MB / 1.231 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.4001, allocations: 41.7 kB / 1.231 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4003, allocations: 360.5 kB / 1.231 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4005, allocations: 228.7 kB / 1.232 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4006, allocations: 130.3 kB / 1.232 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4008, allocations: 386.8 kB / 1.232 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.4011, allocations: 197.2 kB / 1.232 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.4015, allocations: 333.3 kB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.4022, allocations: 0.4939 MB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4022, allocations: 0 / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009328/0.4032, allocations: 0.633 MB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4032, allocations: 8 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4032, allocations: 0 / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4032, allocations: 8.156 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4037, allocations: 139.7 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4037, allocations: 11.92 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.4042, allocations: 83.33 kB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.4042, allocations: 27.98 kB / 1.234 GB, free: 15.04 MB / 0.9981 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.0002773/0.4045, allocations: 250.2 kB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4047, allocations: 83.06 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.406, allocations: 0.8563 MB / 1.235 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4061, allocations: 15.94 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4061, allocations: 3.984 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4061, allocations: 3.984 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.407, allocations: 0.9676 MB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.407, allocations: 0 / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.4074, allocations: 123.8 kB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4074, allocations: 4 kB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4075, allocations: 19.98 kB / 1.236 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4075, allocations: 7.938 kB / 1.236 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4075, allocations: 4.031 kB / 1.236 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4085, allocations: 0.7355 MB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4088, allocations: 255.8 kB / 1.237 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4089, allocations: 27.92 kB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.4094, allocations: 51.95 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4095, allocations: 60.56 kB / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.4095, allocations: 31.98 kB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004723/0.41, allocations: 455 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.41, allocations: 0 / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005872/0.4106, allocations: 267.5 kB / 1.238 GB, free: 10.73 MB / 0.9981 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.002314/0.4129, allocations: 1.794 MB / 1.24 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.4143, allocations: 0.7278 MB / 1.24 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4143, allocations: 0 / 1.24 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.4147, allocations: 323.9 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.4157, allocations: 282.2 kB / 1.241 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.4224, allocations: 5.7 MB / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.4229, allocations: 0.9882 MB / 1.248 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006416/0.4236, allocations: 242.3 kB / 1.248 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.424, allocations: 331.3 kB / 1.248 GB, free: 392 kB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.424, allocations: 0 / 1.248 GB, free: 392 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3992/0.8232, allocations: 18.49 MB / 1.266 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/8.007, allocations: 12.36 kB / 1.266 GB, free: 184.3 MB / 0.9981 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