Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_9_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.01067/0.01067, allocations: 103.4 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.001934/0.001934, allocations: 188 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.216/2.216, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7549, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005261/0.7602, allocations: 4.268 MB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.9379, allocations: 150.5 MB / 1.239 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.939, allocations: 15.53 kB / 1.239 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.9398, allocations: 171.2 kB / 1.239 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.942, allocations: 490.2 kB / 1.239 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.9444, allocations: 0.7535 MB / 1.24 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.9464, allocations: 1.209 MB / 1.241 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.9475, allocations: 0.5047 MB / 1.242 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008627/0.9484, allocations: 416.8 kB / 1.242 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008393/0.9492, allocations: 421 kB / 1.242 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.9495, allocations: 97.66 kB / 1.243 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009863/0.9505, allocations: 400.2 kB / 1.243 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.9509, allocations: 261.1 kB / 1.243 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007783/0.9517, allocations: 475.3 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.9539, allocations: 1.401 MB / 1.245 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.954, allocations: 0 / 1.245 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.954, allocations: 0 / 1.245 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.954, allocations: 0 / 1.245 GB, free: 12.45 MB / 0.9825 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.002768/0.9568, allocations: 1.273 MB / 1.246 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9568, allocations: 12.03 kB / 1.246 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.957, allocations: 114.7 kB / 1.246 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.9574, allocations: 111.6 kB / 1.246 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.9586, allocations: 0.7148 MB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.9587, allocations: 54 kB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.9588, allocations: 67.98 kB / 1.247 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.96, allocations: 0.7759 MB / 1.248 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.96, allocations: 0 / 1.248 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.9601, allocations: 32 kB / 1.248 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.9601, allocations: 16 kB / 1.248 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.9615, allocations: 0.9728 MB / 1.249 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.9648, allocations: 2.459 MB / 1.251 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.966, allocations: 0.6772 MB / 1.252 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.9664, allocations: 259.2 kB / 1.252 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.858e-05/0.9664, allocations: 32.52 kB / 1.252 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/0.9672, allocations: 422.2 kB / 1.253 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.9672, allocations: 0 / 1.253 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001521/0.9687, allocations: 0.8338 MB / 1.254 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9689, allocations: 247.8 kB / 1.254 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.9697, allocations: 0.6292 MB / 1.254 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.9698, allocations: 41.7 kB / 1.254 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.97, allocations: 364.8 kB / 1.255 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.9702, allocations: 232.7 kB / 1.255 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.9704, allocations: 134.2 kB / 1.255 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9706, allocations: 386.8 kB / 1.256 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.9709, allocations: 201.2 kB / 1.256 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.9714, allocations: 321.4 kB / 1.256 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.9721, allocations: 0.4978 MB / 1.257 GB, free: 196 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9721, allocations: 4 kB / 1.257 GB, free: 192 kB / 0.9825 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001066/0.9732, allocations: 0.6331 MB / 1.257 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9732, allocations: 4 kB / 1.257 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9733, allocations: 4 kB / 1.257 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9733, allocations: 7.984 kB / 1.257 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.9738, allocations: 131.8 kB / 1.257 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9738, allocations: 11.92 kB / 1.257 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.9744, allocations: 87.55 kB / 1.257 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.9744, allocations: 23.98 kB / 1.257 GB, free: 15.28 MB / 0.9981 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.0003276/0.9748, allocations: 257.6 kB / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.9749, allocations: 75.06 kB / 1.258 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.9764, allocations: 0.8409 MB / 1.259 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.9764, allocations: 15.92 kB / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9765, allocations: 0 / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.9765, allocations: 11.98 kB / 1.259 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9776, allocations: 0.9713 MB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9776, allocations: 0 / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.978, allocations: 131.8 kB / 1.26 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.9781, allocations: 4 kB / 1.26 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.9781, allocations: 23.92 kB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.9781, allocations: 4 kB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9781, allocations: 0 / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.9793, allocations: 0.7355 MB / 1.26 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.9796, allocations: 259.8 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.9798, allocations: 19.98 kB / 1.261 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.9803, allocations: 50.02 kB / 1.261 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.9804, allocations: 68.5 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.9805, allocations: 35.92 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005562/0.9811, allocations: 459 kB / 1.261 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9811, allocations: 0 / 1.261 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007526/0.9818, allocations: 267.4 kB / 1.262 GB, free: 10.97 MB / 0.9981 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.002595/0.9844, allocations: 1.783 MB / 1.263 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.9854, allocations: 0.5482 MB / 1.264 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9854, allocations: 0 / 1.264 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.9859, allocations: 323.6 kB / 1.264 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.987, allocations: 275.7 kB / 1.264 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/0.9941, allocations: 5.497 MB / 1.27 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.9946, allocations: 0.9757 MB / 1.271 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006918/0.9953, allocations: 250.2 kB / 1.271 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.9958, allocations: 327.3 kB / 1.271 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.9958, allocations: 8 kB / 1.271 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.614/3.61, allocations: 18.67 MB / 1.289 GB, free: 14.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/20.48, allocations: 19.36 kB / 1.29 GB, free: 14.63 MB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches