Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007806/0.007806, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 196.1 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.29/2.29, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.84 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7984, allocations: 151.6 MB / 1.166 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005947/0.8044, allocations: 4.527 MB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.9663, allocations: 150.6 MB / 1.318 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009365/0.9673, allocations: 19.88 kB / 1.318 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.9681, allocations: 178.4 kB / 1.318 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.9702, allocations: 0.5133 MB / 1.318 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.9721, allocations: 0.7586 MB / 1.319 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.9738, allocations: 1.25 MB / 1.32 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.9745, allocations: 0.4946 MB / 1.321 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.975, allocations: 410.6 kB / 1.321 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.9755, allocations: 434.1 kB / 1.322 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.9756, allocations: 96 kB / 1.322 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.9764, allocations: 407.5 kB / 1.322 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.9766, allocations: 255.2 kB / 1.322 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.977, allocations: 489.5 kB / 1.323 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.9784, allocations: 1.406 MB / 1.324 GB, free: 1.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9784, allocations: 0 / 1.324 GB, free: 1.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9784, allocations: 4 kB / 1.324 GB, free: 1.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.9784, allocations: 4 kB / 1.324 GB, free: 1.445 MB / 1.045 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.001928/0.9803, allocations: 1.277 MB / 1.325 GB, free: 116 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.9804, allocations: 12.03 kB / 1.325 GB, free: 104 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.9805, allocations: 118.8 kB / 1.325 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.9808, allocations: 107.7 kB / 1.326 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.9818, allocations: 0.7186 MB / 1.326 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.9819, allocations: 50 kB / 1.326 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.9819, allocations: 64 kB / 1.326 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.983, allocations: 0.7759 MB / 1.327 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.983, allocations: 4 kB / 1.327 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.9831, allocations: 32 kB / 1.327 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.9831, allocations: 20 kB / 1.327 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.9844, allocations: 0.9728 MB / 1.328 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.9873, allocations: 2.455 MB / 1.331 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.9884, allocations: 0.6799 MB / 1.331 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.9888, allocations: 255.3 kB / 1.331 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.9888, allocations: 24.53 kB / 1.331 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/0.9895, allocations: 428.9 kB / 1.332 GB, free: 9.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.104e-06/0.9895, allocations: 0 / 1.332 GB, free: 9.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001394/0.9909, allocations: 0.8377 MB / 1.333 GB, free: 8.359 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.991, allocations: 243.8 kB / 1.333 GB, free: 8.062 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.9917, allocations: 0.6332 MB / 1.334 GB, free: 7.422 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.9918, allocations: 41.7 kB / 1.334 GB, free: 7.375 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.992, allocations: 364.5 kB / 1.334 GB, free: 7.012 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.9922, allocations: 228.8 kB / 1.334 GB, free: 6.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.9924, allocations: 134.2 kB / 1.334 GB, free: 6.648 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9925, allocations: 378.8 kB / 1.335 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.9929, allocations: 201.2 kB / 1.335 GB, free: 6.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.9933, allocations: 329.3 kB / 1.335 GB, free: 5.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.994, allocations: 0.4939 MB / 1.336 GB, free: 5.203 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9941, allocations: 4 kB / 1.336 GB, free: 5.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009652/0.995, allocations: 0.6292 MB / 1.336 GB, free: 4.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.995, allocations: 4 kB / 1.336 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.9951, allocations: 4 kB / 1.336 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.9951, allocations: 4 kB / 1.336 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.9956, allocations: 143.8 kB / 1.336 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9956, allocations: 8 kB / 1.336 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.9961, allocations: 81.62 kB / 1.336 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.9961, allocations: 23.98 kB / 1.336 GB, free: 4.301 MB / 1.061 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.0002884/0.9964, allocations: 257.6 kB / 1.337 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.9965, allocations: 79.06 kB / 1.337 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.998, allocations: 0.8525 MB / 1.338 GB, free: 3.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.998, allocations: 15.88 kB / 1.338 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.998, allocations: 0 / 1.338 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.998, allocations: 7.984 kB / 1.338 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.999, allocations: 0.9715 MB / 1.339 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.999, allocations: 0 / 1.339 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.9994, allocations: 127.8 kB / 1.339 GB, free: 1.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9995, allocations: 4 kB / 1.339 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.9995, allocations: 23.98 kB / 1.339 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9995, allocations: 32 / 1.339 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9995, allocations: 8 kB / 1.339 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.001, allocations: 0.7315 MB / 1.339 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/1.001, allocations: 259.8 kB / 1.34 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/1.001, allocations: 16 kB / 1.34 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.001, allocations: 59.94 kB / 1.34 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.002, allocations: 60.56 kB / 1.34 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/1.002, allocations: 27.98 kB / 1.34 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004979/1.002, allocations: 463 kB / 1.34 GB, free: 256 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 1.34 GB, free: 256 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006723/1.003, allocations: 263.6 kB / 1.341 GB, free: 15.99 MB / 1.076 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.002528/1.005, allocations: 1.796 MB / 1.342 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000856/1.006, allocations: 0.5521 MB / 1.343 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.006, allocations: 0 / 1.343 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/1.007, allocations: 323.9 kB / 1.343 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/1.008, allocations: 284 kB / 1.343 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/1.014, allocations: 5.501 MB / 1.349 GB, free: 7.582 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/1.015, allocations: 0.9758 MB / 1.35 GB, free: 6.574 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006224/1.016, allocations: 250.3 kB / 1.35 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/1.016, allocations: 331.3 kB / 1.35 GB, free: 6 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/1.016, allocations: 0 / 1.35 GB, free: 6 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/1.06, allocations: 18.7 MB / 1.369 GB, free: 3.531 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.642, allocations: 18.47 kB / 1.369 GB, free: 3.516 MB / 1.092 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_fmu --startTime=1.56384e+07 --stopTime=1.10246e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches