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.001699/0.001699, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00211/0.00211, allocations: 212 kB / 22.99 MB, free: 4.98 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.524/1.524, allocations: 230.6 MB / 256.8 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [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.002087/0.002087, allocations: 72.98 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 176.1 MB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007069/0.3827, allocations: 4.149 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1965/0.5793, allocations: 132.6 MB / 1.461 GB, free: 7.77 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.5805, allocations: 23.81 kB / 1.461 GB, free: 7.746 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.5812, allocations: 182.3 kB / 1.461 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.5831, allocations: 0.5232 MB / 1.461 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.5851, allocations: 0.7758 MB / 1.462 GB, free: 6.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.5866, allocations: 1.269 MB / 1.463 GB, free: 5 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/0.5872, allocations: 343.4 kB / 1.464 GB, free: 4.645 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.5879, allocations: 442.5 kB / 1.464 GB, free: 4.211 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.5884, allocations: 438 kB / 1.464 GB, free: 3.781 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.5886, allocations: 100 kB / 1.465 GB, free: 3.684 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008429/0.5894, allocations: 411.7 kB / 1.465 GB, free: 3.281 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.5897, allocations: 259.2 kB / 1.465 GB, free: 3.027 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.5901, allocations: 406 kB / 1.466 GB, free: 2.629 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.592, allocations: 1.455 MB / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.592, allocations: 0 / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.454e-06/0.592, allocations: 0 / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.592, allocations: 0 / 1.467 GB, free: 1.168 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.002558/0.5946, allocations: 1.258 MB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5946, allocations: 8.031 kB / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007867/0.5954, allocations: 136.2 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5968, allocations: 0.6746 MB / 1.469 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.5968, allocations: 50 kB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5969, allocations: 64 kB / 1.469 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5985, allocations: 1.027 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5985, allocations: 3.938 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.5986, allocations: 28 kB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5986, allocations: 20 kB / 1.47 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.6001, allocations: 0.9259 MB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.6037, allocations: 2.141 MB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.605, allocations: 0.6389 MB / 1.474 GB, free: 9.934 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.6054, allocations: 239.5 kB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.6055, allocations: 20.64 kB / 1.474 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007986/0.6063, allocations: 475.3 kB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.6063, allocations: 0 / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001763/0.608, allocations: 0.8371 MB / 1.475 GB, free: 8.336 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.6082, allocations: 240 kB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.609, allocations: 0.6017 MB / 1.476 GB, free: 7.434 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.6091, allocations: 45.83 kB / 1.476 GB, free: 7.383 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.6095, allocations: 372.9 kB / 1.477 GB, free: 7.012 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.6097, allocations: 234 kB / 1.477 GB, free: 6.781 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.6099, allocations: 158.6 kB / 1.477 GB, free: 6.621 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.6102, allocations: 378.8 kB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.6106, allocations: 221.9 kB / 1.478 GB, free: 6.023 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.6112, allocations: 487.6 kB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.6121, allocations: 0.5254 MB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6121, allocations: 0 / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001243/0.6134, allocations: 0.6842 MB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6134, allocations: 4 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6134, allocations: 0 / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6134, allocations: 4 kB / 1.479 GB, free: 4.246 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.614, allocations: 147.8 kB / 1.479 GB, free: 4.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.614, allocations: 4 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/0.6146, allocations: 83.72 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.6147, allocations: 39.97 kB / 1.479 GB, free: 3.977 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (88): * Single equations (assignments): 88 * 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.0004046/0.6151, allocations: 259.9 kB / 1.48 GB, free: 3.711 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.6153, allocations: 79.48 kB / 1.48 GB, free: 3.633 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.617, allocations: 0.8445 MB / 1.481 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.617, allocations: 8 kB / 1.481 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.617, allocations: 4 kB / 1.481 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6171, allocations: 7.922 kB / 1.481 GB, free: 2.758 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6182, allocations: 0.7489 MB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6182, allocations: 0 / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.6187, allocations: 123.8 kB / 1.481 GB, free: 1.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6187, allocations: 7.938 kB / 1.481 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.6187, allocations: 23.98 kB / 1.481 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.6188, allocations: 11.92 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6188, allocations: 4 kB / 1.481 GB, free: 1.801 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.6201, allocations: 0.732 MB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.6204, allocations: 175.2 kB / 1.482 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6205, allocations: 19.95 kB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.6211, allocations: 65.62 kB / 1.482 GB, free: 0.793 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.6212, allocations: 60.55 kB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.6213, allocations: 35.91 kB / 1.483 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006024/0.6219, allocations: 435 kB / 1.483 GB, free: 280 kB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6219, allocations: 3.938 kB / 1.483 GB, free: 276 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008415/0.6227, allocations: 279.3 kB / 1.483 GB, free: 15.99 MB / 1.186 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.002352/0.6251, allocations: 0.644 MB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6264, allocations: 0.5521 MB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6264, allocations: 4 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.627, allocations: 295.6 kB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6282, allocations: 274 kB / 1.485 GB, free: 14.47 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.631, allocations: 1.451 MB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.6314, allocations: 393.3 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007257/0.6321, allocations: 249.9 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.6324, allocations: 107.3 kB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of SimCode: time 9.72e-07/0.6324, allocations: 0 / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of Templates: time 0.02536/0.6577, allocations: 14.01 MB / 1.501 GB, free: 14.43 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 400] 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: 9.84020812601375]