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.001803/0.001803, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002215/0.002215, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.797 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.087/3.087, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002104/0.002104, allocations: 70.45 kB / 1.153 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 176.1 MB / 1.325 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007242/0.3665, allocations: 4.147 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5516, allocations: 132.6 MB / 1.459 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.5525, allocations: 23.81 kB / 1.459 GB, free: 9.242 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.5532, allocations: 190.3 kB / 1.459 GB, free: 9.055 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.5551, allocations: 0.5196 MB / 1.459 GB, free: 8.535 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.5569, allocations: 0.7822 MB / 1.46 GB, free: 7.758 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.5588, allocations: 1.261 MB / 1.461 GB, free: 6.492 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.5595, allocations: 333.8 kB / 1.462 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008268/0.5603, allocations: 430.5 kB / 1.462 GB, free: 5.727 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.561, allocations: 402 kB / 1.462 GB, free: 5.332 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.5611, allocations: 100 kB / 1.463 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.562, allocations: 403.6 kB / 1.463 GB, free: 4.84 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.5624, allocations: 271.1 kB / 1.463 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.563, allocations: 390 kB / 1.464 GB, free: 4.191 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.5651, allocations: 1.459 MB / 1.465 GB, free: 2.727 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5651, allocations: 0 / 1.465 GB, free: 2.727 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5651, allocations: 4 kB / 1.465 GB, free: 2.723 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.5651, allocations: 3.938 kB / 1.465 GB, free: 2.719 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.002571/0.5677, allocations: 1.258 MB / 1.466 GB, free: 1.422 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5678, allocations: 12.03 kB / 1.466 GB, free: 1.41 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.5679, allocations: 118.6 kB / 1.466 GB, free: 1.285 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006867/0.5686, allocations: 132.2 kB / 1.466 GB, free: 1.156 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.5698, allocations: 0.6667 MB / 1.467 GB, free: 472 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.5699, allocations: 50 kB / 1.467 GB, free: 420 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.57, allocations: 71.94 kB / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5715, allocations: 1.027 MB / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5715, allocations: 0 / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.5716, allocations: 32 kB / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5716, allocations: 20 kB / 1.468 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.5731, allocations: 0.9297 MB / 1.469 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.5769, allocations: 2.236 MB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5781, allocations: 0.6498 MB / 1.472 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.5786, allocations: 231.6 kB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.5786, allocations: 20.64 kB / 1.472 GB, free: 10.99 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000769/0.5794, allocations: 479.2 kB / 1.473 GB, free: 10.49 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.816e-06/0.5794, allocations: 0 / 1.473 GB, free: 10.49 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001699/0.5811, allocations: 0.841 MB / 1.474 GB, free: 9.641 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.5813, allocations: 247.9 kB / 1.474 GB, free: 9.344 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/0.5822, allocations: 0.6528 MB / 1.474 GB, free: 8.68 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.5823, allocations: 45.83 kB / 1.474 GB, free: 8.629 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.5827, allocations: 377 kB / 1.475 GB, free: 8.254 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.5829, allocations: 230.1 kB / 1.475 GB, free: 8.027 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5831, allocations: 138.2 kB / 1.475 GB, free: 7.887 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.5834, allocations: 386.8 kB / 1.476 GB, free: 7.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.5838, allocations: 197.2 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.5844, allocations: 479.6 kB / 1.476 GB, free: 6.766 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.5852, allocations: 0.5059 MB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5853, allocations: 0 / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001286/0.5865, allocations: 0.6412 MB / 1.477 GB, free: 5.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5866, allocations: 13.61 kB / 1.477 GB, free: 5.582 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5866, allocations: 3.938 kB / 1.477 GB, free: 5.578 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.5866, allocations: 4 kB / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.5871, allocations: 139.7 kB / 1.477 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.5872, allocations: 4 kB / 1.477 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.5877, allocations: 91.73 kB / 1.478 GB, free: 5.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.5878, allocations: 35.95 kB / 1.478 GB, free: 5.309 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.0004229/0.5882, allocations: 245.7 kB / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5884, allocations: 87.44 kB / 1.478 GB, free: 4.973 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.5901, allocations: 0.841 MB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5901, allocations: 19.86 kB / 1.479 GB, free: 4.102 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5901, allocations: 4 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.5901, allocations: 3.984 kB / 1.479 GB, free: 4.094 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.5914, allocations: 0.8421 MB / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5914, allocations: 0 / 1.48 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.5918, allocations: 131.8 kB / 1.48 GB, free: 3.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.5918, allocations: 4 kB / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5919, allocations: 23.98 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.5919, allocations: 4 kB / 1.48 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5919, allocations: 0 / 1.48 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5932, allocations: 0.7475 MB / 1.48 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.5936, allocations: 191.1 kB / 1.481 GB, free: 2.078 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5937, allocations: 16 kB / 1.481 GB, free: 2.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.5942, allocations: 55.97 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5944, allocations: 68.53 kB / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.5944, allocations: 27.98 kB / 1.481 GB, free: 1.914 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006485/0.5951, allocations: 475 kB / 1.481 GB, free: 1.457 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5951, allocations: 0 / 1.481 GB, free: 1.457 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007651/0.5958, allocations: 271.3 kB / 1.481 GB, free: 1.191 MB / 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.003735/0.5996, allocations: 1.829 MB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.6007, allocations: 0.5287 MB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.6007, allocations: 4 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.6012, allocations: 299.5 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.6025, allocations: 284.9 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/0.6122, allocations: 5.607 MB / 1.49 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.6128, allocations: 385.5 kB / 1.49 GB, free: 8.332 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000953/0.6138, allocations: 250.5 kB / 1.49 GB, free: 8.082 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.6144, allocations: 335.3 kB / 1.491 GB, free: 7.758 MB / 1.186 GB Notification: Performance of SimCode: time 2.325e-06/0.6144, allocations: 8 kB / 1.491 GB, free: 7.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.6755, allocations: 20.55 MB / 1.511 GB, free: 3.461 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.87, allocations: 3.188 kB / 1.511 GB, free: 3.461 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.504060317296535]