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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 213.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.21/3.21, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 67.66 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.372, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006333/0.3784, allocations: 4.148 MB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.5426, allocations: 132.6 MB / 1.497 GB, free: 4.754 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.5433, allocations: 23.81 kB / 1.497 GB, free: 4.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.5439, allocations: 186.4 kB / 1.497 GB, free: 4.547 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5457, allocations: 0.5177 MB / 1.498 GB, free: 4.031 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.5475, allocations: 0.7918 MB / 1.498 GB, free: 3.246 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.549, allocations: 1.261 MB / 1.5 GB, free: 1.98 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.5496, allocations: 319.4 kB / 1.5 GB, free: 1.648 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.5502, allocations: 434.5 kB / 1.5 GB, free: 1.223 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.5507, allocations: 402.1 kB / 1.501 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5508, allocations: 104 kB / 1.501 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.5516, allocations: 403.6 kB / 1.501 GB, free: 340 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.5519, allocations: 267.2 kB / 1.501 GB, free: 72 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.5523, allocations: 390 kB / 1.502 GB, free: 15.69 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.5541, allocations: 1.459 MB / 1.503 GB, free: 14.22 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.5541, allocations: 0 / 1.503 GB, free: 14.22 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5541, allocations: 0 / 1.503 GB, free: 14.22 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.5541, allocations: 0 / 1.503 GB, free: 14.22 MB / 1.201 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.002324/0.5565, allocations: 1.27 MB / 1.505 GB, free: 12.91 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5565, allocations: 11.97 kB / 1.505 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.5566, allocations: 110.7 kB / 1.505 GB, free: 12.78 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006796/0.5573, allocations: 144.2 kB / 1.505 GB, free: 12.64 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.5586, allocations: 0.6628 MB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.5586, allocations: 54 kB / 1.505 GB, free: 11.9 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.5587, allocations: 64 kB / 1.506 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5601, allocations: 1.027 MB / 1.507 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5601, allocations: 0 / 1.507 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.5602, allocations: 32 kB / 1.507 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.5602, allocations: 20 kB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5616, allocations: 0.9259 MB / 1.507 GB, free: 9.719 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.5652, allocations: 2.249 MB / 1.51 GB, free: 7.395 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.5665, allocations: 0.642 MB / 1.51 GB, free: 6.742 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.5669, allocations: 235.5 kB / 1.511 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.5669, allocations: 20.64 kB / 1.511 GB, free: 6.488 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007463/0.5677, allocations: 475.3 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of pre-optimization done (n=70): time 2.574e-06/0.5677, allocations: 4 kB / 1.511 GB, free: 5.988 MB / 1.201 GB Notification: Performance of matching and sorting (n=70): time 0.001699/0.5694, allocations: 0.8487 MB / 1.512 GB, free: 5.133 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.5695, allocations: 243.9 kB / 1.512 GB, free: 4.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.5705, allocations: 0.6489 MB / 1.513 GB, free: 4.184 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.5706, allocations: 41.7 kB / 1.513 GB, free: 4.137 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.571, allocations: 377 kB / 1.513 GB, free: 3.762 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.5712, allocations: 230 kB / 1.513 GB, free: 3.535 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.5714, allocations: 142.2 kB / 1.513 GB, free: 3.391 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5716, allocations: 390.7 kB / 1.514 GB, free: 3 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.572, allocations: 197.2 kB / 1.514 GB, free: 2.805 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.5726, allocations: 483.7 kB / 1.514 GB, free: 2.262 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.5735, allocations: 0.4942 MB / 1.515 GB, free: 1.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5735, allocations: 4 kB / 1.515 GB, free: 1.746 MB / 1.201 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0012/0.5747, allocations: 0.6335 MB / 1.516 GB, free: 1.105 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5747, allocations: 8.156 kB / 1.516 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5748, allocations: 4 kB / 1.516 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.5748, allocations: 4 kB / 1.516 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.5753, allocations: 135.7 kB / 1.516 GB, free: 0.957 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5754, allocations: 7.938 kB / 1.516 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.5759, allocations: 91.47 kB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.576, allocations: 27.97 kB / 1.516 GB, free: 0.832 MB / 1.201 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.0003888/0.5763, allocations: 253.8 kB / 1.516 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5765, allocations: 87.42 kB / 1.516 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.5782, allocations: 0.8488 MB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.5782, allocations: 19.91 kB / 1.517 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5782, allocations: 3.938 kB / 1.517 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5782, allocations: 3.984 kB / 1.517 GB, free: 15.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5796, allocations: 0.8382 MB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5796, allocations: 4 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.58, allocations: 127.8 kB / 1.518 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.58, allocations: 0 / 1.518 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.5801, allocations: 23.98 kB / 1.518 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.5801, allocations: 4 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5801, allocations: 4.031 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.5814, allocations: 0.7437 MB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.5818, allocations: 187.1 kB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5819, allocations: 23.95 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.5824, allocations: 49.34 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.5826, allocations: 72.47 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.5827, allocations: 27.98 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007534/0.5835, allocations: 479 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5835, allocations: 0 / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007779/0.5842, allocations: 271.3 kB / 1.52 GB, free: 12.7 MB / 1.217 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.003664/0.5879, allocations: 1.819 MB / 1.522 GB, free: 11.06 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.5891, allocations: 0.5326 MB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5891, allocations: 0 / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.5896, allocations: 303.9 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.5908, allocations: 267.2 kB / 1.523 GB, free: 9.988 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008685/0.5995, allocations: 5.606 MB / 1.528 GB, free: 4.254 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.5999, allocations: 389.5 kB / 1.528 GB, free: 3.852 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007979/0.6007, allocations: 250.5 kB / 1.529 GB, free: 3.602 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.6013, allocations: 343.3 kB / 1.529 GB, free: 3.266 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/0.6013, allocations: 0 / 1.529 GB, free: 3.266 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.6662, allocations: 20.56 MB / 1.549 GB, free: 14.96 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.55, allocations: 7.875 kB / 1.549 GB, free: 14.95 MB / 1.248 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --stepSize=3598.23 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.76494454778731]