Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.007632/0.007632, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001678/0.001678, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005383/0.2807, allocations: 4.534 MB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7502/1.031, allocations: 150.6 MB / 1.359 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/1.032, allocations: 18.97 kB / 1.359 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006633/1.032, allocations: 177.4 kB / 1.359 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/1.034, allocations: 0.5017 MB / 1.359 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/1.036, allocations: 0.761 MB / 1.36 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001417/1.037, allocations: 1.24 MB / 1.361 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/1.038, allocations: 499.4 kB / 1.362 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/1.039, allocations: 409.1 kB / 1.362 GB, free: 7.789 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/1.039, allocations: 437.3 kB / 1.363 GB, free: 7.562 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/1.04, allocations: 101.6 kB / 1.363 GB, free: 7.559 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/1.04, allocations: 403.7 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/1.041, allocations: 253.7 kB / 1.363 GB, free: 7.309 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/1.041, allocations: 487.5 kB / 1.364 GB, free: 6.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/1.043, allocations: 1.412 MB / 1.365 GB, free: 6.383 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.043, allocations: 1.531 kB / 1.365 GB, free: 6.383 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/1.043, allocations: 0 / 1.365 GB, free: 6.383 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.043, allocations: 0 / 1.365 GB, free: 6.383 MB / 1.061 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.002209/1.045, allocations: 1.277 MB / 1.366 GB, free: 5.496 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.045, allocations: 8.531 kB / 1.366 GB, free: 5.496 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/1.045, allocations: 115.8 kB / 1.367 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/1.046, allocations: 107.8 kB / 1.367 GB, free: 5.363 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.047, allocations: 0.7166 MB / 1.367 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/1.047, allocations: 62.31 kB / 1.367 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/1.047, allocations: 62.12 kB / 1.367 GB, free: 4.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.048, allocations: 0.7812 MB / 1.368 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.048, allocations: 0.9375 kB / 1.368 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/1.048, allocations: 32.47 kB / 1.368 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/1.048, allocations: 16.91 kB / 1.368 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.049, allocations: 0.9732 MB / 1.369 GB, free: 4.195 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/1.052, allocations: 2.463 MB / 1.372 GB, free: 2.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.054, allocations: 0.6789 MB / 1.372 GB, free: 2.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/1.054, allocations: 254.4 kB / 1.373 GB, free: 2.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/1.054, allocations: 21.81 kB / 1.373 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006478/1.055, allocations: 430.2 kB / 1.373 GB, free: 1.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/1.055, allocations: 0 / 1.373 GB, free: 1.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001601/1.056, allocations: 0.836 MB / 1.374 GB, free: 1.324 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.056, allocations: 244.6 kB / 1.374 GB, free: 1.039 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/1.057, allocations: 0.6286 MB / 1.375 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/1.057, allocations: 42.31 kB / 1.375 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/1.058, allocations: 371.3 kB / 1.375 GB, free: 312 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/1.058, allocations: 221.2 kB / 1.375 GB, free: 116 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.058, allocations: 140.3 kB / 1.375 GB, free: 28 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.058, allocations: 383.6 kB / 1.376 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/1.059, allocations: 203.3 kB / 1.376 GB, free: 15.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/1.059, allocations: 326.9 kB / 1.376 GB, free: 15.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/1.06, allocations: 0.4948 MB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.06, allocations: 5.094 kB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00104/1.061, allocations: 0.626 MB / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.061, allocations: 6.438 kB / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.061, allocations: 1.344 kB / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.061, allocations: 4.062 kB / 1.377 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/1.061, allocations: 137.1 kB / 1.377 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.061, allocations: 8.125 kB / 1.377 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/1.062, allocations: 86.08 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/1.062, allocations: 31.48 kB / 1.378 GB, free: 14.63 MB / 1.076 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.0003549/1.062, allocations: 258.3 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/1.063, allocations: 76.66 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.064, allocations: 0.8512 MB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.064, allocations: 9.094 kB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.064, allocations: 3.938 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.064, allocations: 5.047 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.065, allocations: 0.9757 MB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.065, allocations: 1.312 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/1.066, allocations: 122.7 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.066, allocations: 11.06 kB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/1.066, allocations: 24.02 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.066, allocations: 3.938 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.066, allocations: 0 / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.067, allocations: 0.7359 MB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/1.067, allocations: 260.3 kB / 1.381 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.068, allocations: 18.69 kB / 1.381 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/1.068, allocations: 58.91 kB / 1.381 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.068, allocations: 61.59 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/1.068, allocations: 31.8 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005783/1.069, allocations: 460.9 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 3.938 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000824/1.07, allocations: 262.8 kB / 1.382 GB, free: 12.02 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.002849/1.072, allocations: 1.784 MB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.074, allocations: 0.5517 MB / 1.384 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.074, allocations: 1.375 kB / 1.384 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/1.074, allocations: 327.8 kB / 1.384 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.075, allocations: 279.3 kB / 1.385 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.083, allocations: 5.505 MB / 1.39 GB, free: 6.949 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/1.084, allocations: 0.9769 MB / 1.391 GB, free: 6.121 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007322/1.085, allocations: 251.2 kB / 1.391 GB, free: 5.996 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.085, allocations: 331.9 kB / 1.391 GB, free: 5.738 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.085, allocations: 0 / 1.391 GB, free: 5.738 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/1.127, allocations: 19.03 MB / 1.41 GB, free: 7.34 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.678, allocations: 12.91 kB / 1.41 GB, free: 7.332 MB / 1.092 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches