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.001312/0.001312, 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.002445/0.002445, allocations: 214.9 kB / 22.25 MB, free: 5.074 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.004 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.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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: "" <> 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.001952/0.001952, allocations: 66.17 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3499, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007209/0.3571, allocations: 4.616 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2083/0.5655, allocations: 154.1 MB / 1.481 GB, free: 2.641 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.5664, allocations: 19.88 kB / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.5672, allocations: 182.3 kB / 1.481 GB, free: 2.441 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.5696, allocations: 0.5263 MB / 1.482 GB, free: 1.918 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.5718, allocations: 0.8106 MB / 1.482 GB, free: 1.113 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.5738, allocations: 1.257 MB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.5747, allocations: 349 kB / 1.484 GB, free: 15.49 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009917/0.5757, allocations: 434.5 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.5765, allocations: 446 kB / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.5768, allocations: 100 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009589/0.5777, allocations: 423.6 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.5781, allocations: 275.1 kB / 1.486 GB, free: 13.85 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.5788, allocations: 489.5 kB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.5813, allocations: 1.455 MB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5813, allocations: 0 / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5813, allocations: 0 / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.677e-05/0.5814, allocations: 0 / 1.487 GB, free: 11.91 MB / 1.186 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.003135/0.5845, allocations: 1.27 MB / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5845, allocations: 8.031 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.5847, allocations: 110.7 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.5855, allocations: 140.2 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.5871, allocations: 0.6744 MB / 1.49 GB, free: 9.633 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.5872, allocations: 50 kB / 1.49 GB, free: 9.582 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.5873, allocations: 60 kB / 1.49 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5888, allocations: 0.7798 MB / 1.49 GB, free: 8.691 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5889, allocations: 0 / 1.49 GB, free: 8.691 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/0.5889, allocations: 28 kB / 1.49 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.5889, allocations: 20 kB / 1.49 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.5904, allocations: 0.9728 MB / 1.491 GB, free: 7.672 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.5944, allocations: 2.428 MB / 1.494 GB, free: 5.168 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.5957, allocations: 0.6507 MB / 1.494 GB, free: 4.496 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.5961, allocations: 235.6 kB / 1.495 GB, free: 4.262 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.5962, allocations: 32.59 kB / 1.495 GB, free: 4.23 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007406/0.5969, allocations: 423.9 kB / 1.495 GB, free: 3.797 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.355e-06/0.5969, allocations: 0 / 1.495 GB, free: 3.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001659/0.5986, allocations: 0.841 MB / 1.496 GB, free: 2.949 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.5988, allocations: 251.8 kB / 1.496 GB, free: 2.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5998, allocations: 0.6528 MB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.5999, allocations: 41.83 kB / 1.497 GB, free: 1.938 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.6003, allocations: 373 kB / 1.497 GB, free: 1.566 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.6006, allocations: 238 kB / 1.497 GB, free: 1.332 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.6008, allocations: 134.2 kB / 1.498 GB, free: 1.195 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0003411/0.6011, allocations: 386.8 kB / 1.498 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.6015, allocations: 201.2 kB / 1.498 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.602, allocations: 325.4 kB / 1.498 GB, free: 264 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.6028, allocations: 0.4981 MB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.6028, allocations: 0 / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001225/0.6041, allocations: 0.6373 MB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6041, allocations: 11.94 kB / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6041, allocations: 0 / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.6041, allocations: 4 kB / 1.5 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.6046, allocations: 139.7 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.6047, allocations: 4.156 kB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.6052, allocations: 87.52 kB / 1.5 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.6053, allocations: 27.98 kB / 1.5 GB, free: 14.83 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.0004004/0.6057, allocations: 249.7 kB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.6059, allocations: 87.44 kB / 1.5 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.6075, allocations: 0.8489 MB / 1.501 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.6075, allocations: 11.94 kB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6076, allocations: 4 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6076, allocations: 7.984 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.6089, allocations: 0.9589 MB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6089, allocations: 3.938 kB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.6093, allocations: 131.7 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.6093, allocations: 4 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.6094, allocations: 27.97 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6094, allocations: 4 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6094, allocations: 0 / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.6108, allocations: 0.7398 MB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.6113, allocations: 191 kB / 1.503 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6114, allocations: 20 kB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.6119, allocations: 51.94 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.6121, allocations: 64.53 kB / 1.503 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.6122, allocations: 31.98 kB / 1.503 GB, free: 11.31 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007175/0.6129, allocations: 475 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6129, allocations: 0 / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009091/0.6138, allocations: 267.4 kB / 1.504 GB, free: 10.59 MB / 1.201 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.004024/0.6178, allocations: 1.805 MB / 1.506 GB, free: 8.938 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.619, allocations: 0.5287 MB / 1.506 GB, free: 8.406 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.619, allocations: 0 / 1.506 GB, free: 8.406 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.6195, allocations: 295.6 kB / 1.506 GB, free: 8.121 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6207, allocations: 280 kB / 1.507 GB, free: 7.867 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/0.63, allocations: 5.609 MB / 1.512 GB, free: 2.133 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.6307, allocations: 0.9798 MB / 1.513 GB, free: 1.129 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001066/0.6318, allocations: 246.5 kB / 1.513 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.6324, allocations: 339.3 kB / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of SimCode: time 6.91e-07/0.6324, allocations: 0 / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08335/0.7157, allocations: 19.57 MB / 1.533 GB, free: 13.19 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.33, allocations: 17.66 kB / 1.533 GB, free: 13.18 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.203712962102145]