Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.001284/0.001284, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002265/0.002265, allocations: 223.9 kB / 22.25 MB, free: 5.102 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.003291/0.003291, allocations: 72.89 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3711, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007897/0.379, allocations: 4.145 MB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5551, allocations: 132.6 MB / 1.459 GB, free: 8.234 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008817/0.556, allocations: 23.81 kB / 1.459 GB, free: 8.211 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.5567, allocations: 190.3 kB / 1.46 GB, free: 8.023 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.5585, allocations: 0.5196 MB / 1.46 GB, free: 7.504 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.5604, allocations: 0.7799 MB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.562, allocations: 1.265 MB / 1.462 GB, free: 5.461 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.5626, allocations: 348.8 kB / 1.462 GB, free: 5.102 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.5633, allocations: 438.5 kB / 1.463 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.5638, allocations: 434.1 kB / 1.463 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.564, allocations: 100 kB / 1.463 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008996/0.5649, allocations: 419.6 kB / 1.464 GB, free: 3.738 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.5651, allocations: 267.2 kB / 1.464 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.5656, allocations: 394 kB / 1.464 GB, free: 3.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.5675, allocations: 1.459 MB / 1.466 GB, free: 1.625 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.5675, allocations: 4 kB / 1.466 GB, free: 1.621 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5675, allocations: 0 / 1.466 GB, free: 1.621 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.5675, allocations: 0 / 1.466 GB, free: 1.621 MB / 1.154 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.002373/0.5698, allocations: 1.266 MB / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5699, allocations: 8.031 kB / 1.467 GB, free: 316 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.57, allocations: 114.7 kB / 1.467 GB, free: 192 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.5707, allocations: 136.2 kB / 1.467 GB, free: 56 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.5721, allocations: 0.6705 MB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.5721, allocations: 54 kB / 1.468 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5722, allocations: 60 kB / 1.468 GB, free: 15.24 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.5738, allocations: 1.031 MB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.5738, allocations: 4 kB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.5738, allocations: 28 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.5739, allocations: 20 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.5753, allocations: 0.922 MB / 1.47 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.5789, allocations: 2.246 MB / 1.472 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.5801, allocations: 0.6498 MB / 1.473 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.5805, allocations: 231.6 kB / 1.473 GB, free: 9.902 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.507e-05/0.5805, allocations: 24.62 kB / 1.473 GB, free: 9.879 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007365/0.5813, allocations: 475.3 kB / 1.474 GB, free: 9.383 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.865e-06/0.5813, allocations: 0 / 1.474 GB, free: 9.383 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001619/0.5829, allocations: 0.8449 MB / 1.474 GB, free: 8.531 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.583, allocations: 247.9 kB / 1.475 GB, free: 8.234 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/0.5839, allocations: 0.6529 MB / 1.475 GB, free: 7.57 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.584, allocations: 45.64 kB / 1.475 GB, free: 7.52 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.5843, allocations: 373 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.5845, allocations: 238.1 kB / 1.476 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.5847, allocations: 134.2 kB / 1.476 GB, free: 6.777 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.585, allocations: 390.7 kB / 1.476 GB, free: 6.387 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.5853, allocations: 201.2 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.5859, allocations: 479.6 kB / 1.477 GB, free: 5.648 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.5867, allocations: 0.4981 MB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5867, allocations: 4 kB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001131/0.5878, allocations: 0.6373 MB / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5878, allocations: 4 kB / 1.478 GB, free: 4.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5878, allocations: 4 kB / 1.478 GB, free: 4.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.5879, allocations: 4 kB / 1.478 GB, free: 4.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.5884, allocations: 139.7 kB / 1.478 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5884, allocations: 8.156 kB / 1.478 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.589, allocations: 89.23 kB / 1.478 GB, free: 4.242 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5891, allocations: 23.98 kB / 1.478 GB, free: 4.219 MB / 1.17 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.0003893/0.5895, allocations: 257.7 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5896, allocations: 87.44 kB / 1.479 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.5913, allocations: 0.8489 MB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5913, allocations: 11.94 kB / 1.48 GB, free: 3 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5913, allocations: 0 / 1.48 GB, free: 3 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5913, allocations: 7.984 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.5925, allocations: 0.842 MB / 1.48 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.5925, allocations: 4 kB / 1.48 GB, free: 2.094 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.5929, allocations: 127.8 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5929, allocations: 3.938 kB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.593, allocations: 23.98 kB / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.593, allocations: 4 kB / 1.481 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.593, allocations: 0 / 1.481 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5942, allocations: 0.7437 MB / 1.481 GB, free: 1.168 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.5946, allocations: 187.1 kB / 1.481 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5947, allocations: 27.97 kB / 1.481 GB, free: 0.957 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.5952, allocations: 51.94 kB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5953, allocations: 64.53 kB / 1.482 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.5954, allocations: 27.98 kB / 1.482 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006119/0.596, allocations: 475 kB / 1.482 GB, free: 368 kB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.596, allocations: 0 / 1.482 GB, free: 368 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007587/0.5968, allocations: 271.3 kB / 1.482 GB, free: 96 kB / 1.17 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.003649/0.6004, allocations: 1.836 MB / 1.484 GB, free: 14.44 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.6015, allocations: 0.5287 MB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6015, allocations: 0 / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.602, allocations: 299.6 kB / 1.485 GB, free: 13.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.6032, allocations: 286.5 kB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008703/0.6119, allocations: 5.602 MB / 1.491 GB, free: 7.637 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.6123, allocations: 389.5 kB / 1.491 GB, free: 7.234 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.6132, allocations: 246.5 kB / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.6137, allocations: 343.3 kB / 1.492 GB, free: 6.656 MB / 1.186 GB Notification: Performance of SimCode: time 1.233e-06/0.6137, allocations: 0 / 1.492 GB, free: 6.656 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05635/0.67, allocations: 20.77 MB / 1.512 GB, free: 2.148 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.56, allocations: 11.66 kB / 1.512 GB, free: 2.141 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --stepSize=37843.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.289622687996598]