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.001885/0.001885, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002435/0.002435, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.996 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.226/3.226, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.002018/0.002018, allocations: 66.39 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3763, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.007958/0.3843, allocations: 4.628 MB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1884/0.5726, allocations: 154.1 MB / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.5734, allocations: 19.81 kB / 1.508 GB, free: 9.113 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.5742, allocations: 182.4 kB / 1.508 GB, free: 8.934 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.5761, allocations: 0.5209 MB / 1.509 GB, free: 8.414 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.5782, allocations: 0.7984 MB / 1.509 GB, free: 7.621 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5801, allocations: 1.269 MB / 1.511 GB, free: 6.348 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/0.5808, allocations: 343.3 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.5816, allocations: 430.5 kB / 1.511 GB, free: 5.57 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.5824, allocations: 446 kB / 1.512 GB, free: 5.133 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.5826, allocations: 100 kB / 1.512 GB, free: 5.035 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.5836, allocations: 427.6 kB / 1.512 GB, free: 4.617 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.5839, allocations: 275.1 kB / 1.512 GB, free: 4.348 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.5845, allocations: 489.4 kB / 1.513 GB, free: 3.867 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.5867, allocations: 1.459 MB / 1.514 GB, free: 2.402 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5867, allocations: 0 / 1.514 GB, free: 2.402 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5867, allocations: 0 / 1.514 GB, free: 2.402 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.5867, allocations: 0 / 1.514 GB, free: 2.402 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.002506/0.5892, allocations: 1.266 MB / 1.516 GB, free: 1.098 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5893, allocations: 8.031 kB / 1.516 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.5894, allocations: 118.7 kB / 1.516 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.5901, allocations: 144.2 kB / 1.516 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.5914, allocations: 0.6589 MB / 1.516 GB, free: 144 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.5915, allocations: 53.98 kB / 1.517 GB, free: 88 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.5915, allocations: 64 kB / 1.517 GB, free: 24 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.5928, allocations: 0.7721 MB / 1.517 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5929, allocations: 3.938 kB / 1.517 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.5929, allocations: 28 kB / 1.517 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.593, allocations: 19.98 kB / 1.517 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.5944, allocations: 0.9728 MB / 1.518 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.5982, allocations: 2.428 MB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.5994, allocations: 0.6431 MB / 1.521 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.5998, allocations: 231.6 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-05/0.5999, allocations: 28.61 kB / 1.522 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/0.6006, allocations: 427.9 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.6006, allocations: 0 / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.00169/0.6023, allocations: 0.8411 MB / 1.523 GB, free: 9.465 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.6025, allocations: 251.9 kB / 1.523 GB, free: 9.16 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.6034, allocations: 0.6489 MB / 1.524 GB, free: 8.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.6035, allocations: 49.81 kB / 1.524 GB, free: 8.445 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.6038, allocations: 369 kB / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.604, allocations: 242 kB / 1.524 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.6042, allocations: 134.2 kB / 1.524 GB, free: 7.703 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.6044, allocations: 386.8 kB / 1.525 GB, free: 7.316 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.6048, allocations: 197.2 kB / 1.525 GB, free: 7.125 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.6053, allocations: 325.3 kB / 1.525 GB, free: 6.77 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008344/0.6061, allocations: 0.506 MB / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6061, allocations: 0 / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001169/0.6073, allocations: 0.6334 MB / 1.526 GB, free: 5.605 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6073, allocations: 8 kB / 1.526 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6073, allocations: 0 / 1.526 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.6073, allocations: 7.938 kB / 1.526 GB, free: 5.59 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.6078, allocations: 143.7 kB / 1.527 GB, free: 5.449 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6079, allocations: 4.156 kB / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.6084, allocations: 83.52 kB / 1.527 GB, free: 5.363 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.6085, allocations: 35.97 kB / 1.527 GB, free: 5.328 MB / 1.217 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.000407/0.6089, allocations: 249.6 kB / 1.527 GB, free: 5.074 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.609, allocations: 87.44 kB / 1.527 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.6107, allocations: 0.8527 MB / 1.528 GB, free: 4.121 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.6107, allocations: 15.92 kB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6107, allocations: 0 / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6108, allocations: 7.984 kB / 1.528 GB, free: 4.098 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.612, allocations: 0.9551 MB / 1.529 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.612, allocations: 4 kB / 1.529 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.6125, allocations: 127.8 kB / 1.529 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.6125, allocations: 0 / 1.529 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.6125, allocations: 23.98 kB / 1.529 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6126, allocations: 4 kB / 1.529 GB, free: 2.934 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6126, allocations: 0 / 1.529 GB, free: 2.934 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6138, allocations: 0.7437 MB / 1.53 GB, free: 2.172 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.6142, allocations: 195 kB / 1.53 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6143, allocations: 19.98 kB / 1.53 GB, free: 1.961 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.6148, allocations: 51.94 kB / 1.53 GB, free: 1.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6149, allocations: 64.55 kB / 1.53 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.615, allocations: 31.98 kB / 1.53 GB, free: 1.816 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006387/0.6156, allocations: 479 kB / 1.531 GB, free: 1.355 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6156, allocations: 0 / 1.531 GB, free: 1.355 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000734/0.6164, allocations: 267.4 kB / 1.531 GB, free: 1.094 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.003438/0.6198, allocations: 1.798 MB / 1.533 GB, free: 15.44 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.6211, allocations: 0.5248 MB / 1.533 GB, free: 14.92 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.6211, allocations: 4 kB / 1.533 GB, free: 14.91 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.6217, allocations: 295.6 kB / 1.533 GB, free: 14.62 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.6231, allocations: 289 kB / 1.534 GB, free: 14.36 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00922/0.6323, allocations: 5.607 MB / 1.539 GB, free: 8.633 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.633, allocations: 0.9798 MB / 1.54 GB, free: 7.629 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008264/0.6339, allocations: 254.5 kB / 1.54 GB, free: 7.375 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.6344, allocations: 339.3 kB / 1.541 GB, free: 7.043 MB / 1.232 GB Notification: Performance of SimCode: time 9.61e-07/0.6344, allocations: 0 / 1.541 GB, free: 7.043 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05942/0.6939, allocations: 19.57 MB / 1.56 GB, free: 3.641 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.13, allocations: 8.062 kB / 1.56 GB, free: 3.633 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: 20.316615751944482]