Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.008381/0.008381, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001902/0.001902, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 293.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 95.8 kB / 0.6809 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4595, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006396/0.4659, allocations: 4.263 MB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.6267, allocations: 150.5 MB / 0.917 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.6275, allocations: 15.94 kB / 0.9171 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.628, allocations: 174.4 kB / 0.9172 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.6297, allocations: 491.2 kB / 0.9177 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6315, allocations: 0.7498 MB / 0.9184 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6329, allocations: 1.207 MB / 0.9196 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.6336, allocations: 0.5101 MB / 0.9201 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.6342, allocations: 410.5 kB / 0.9205 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.6347, allocations: 422.1 kB / 0.9209 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.6348, allocations: 96 kB / 0.921 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.6356, allocations: 407.6 kB / 0.9214 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.6358, allocations: 251.2 kB / 0.9216 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.6362, allocations: 481.5 kB / 0.9221 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.6378, allocations: 1.39 MB / 0.9234 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6378, allocations: 8 kB / 0.9234 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6378, allocations: 0 / 0.9234 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.6378, allocations: 0 / 0.9234 GB, free: 1.871 MB / 0.6856 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.002079/0.6399, allocations: 1.284 MB / 0.9247 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.64, allocations: 8.031 kB / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.6401, allocations: 110.7 kB / 0.9248 GB, free: 420 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.6404, allocations: 103.7 kB / 0.9249 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6414, allocations: 0.7226 MB / 0.9256 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.6415, allocations: 50 kB / 0.9257 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.6416, allocations: 67.98 kB / 0.9257 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6427, allocations: 0.7837 MB / 0.9265 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6428, allocations: 0 / 0.9265 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.6428, allocations: 31.94 kB / 0.9265 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.6429, allocations: 20 kB / 0.9265 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.6442, allocations: 0.9767 MB / 0.9275 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.6473, allocations: 2.45 MB / 0.9299 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.6484, allocations: 0.6799 MB / 0.9305 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.6488, allocations: 263.2 kB / 0.9308 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.6488, allocations: 28.53 kB / 0.9308 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006378/0.6495, allocations: 422.3 kB / 0.9312 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.314e-06/0.6495, allocations: 0 / 0.9312 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001457/0.6509, allocations: 0.835 MB / 0.932 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6511, allocations: 243.9 kB / 0.9323 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/0.6518, allocations: 0.6409 MB / 0.9329 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.6519, allocations: 41.7 kB / 0.9329 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6522, allocations: 360.5 kB / 0.9333 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.6524, allocations: 224.8 kB / 0.9335 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.6525, allocations: 134.2 kB / 0.9336 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6527, allocations: 386.8 kB / 0.934 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.653, allocations: 197.2 kB / 0.9342 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.6535, allocations: 329.4 kB / 0.9345 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.6542, allocations: 0.4939 MB / 0.935 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6542, allocations: 0 / 0.935 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001006/0.6553, allocations: 0.633 MB / 0.9356 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.6553, allocations: 10.34 kB / 0.9356 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6553, allocations: 0 / 0.9356 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6553, allocations: 4 kB / 0.9356 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.6558, allocations: 143.9 kB / 0.9357 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.6559, allocations: 11.92 kB / 0.9358 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.6564, allocations: 79.39 kB / 0.9358 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.6564, allocations: 27.98 kB / 0.9359 GB, free: 4.719 MB / 0.7012 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.0003306/0.6568, allocations: 256 kB / 0.9361 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.6569, allocations: 75.06 kB / 0.9362 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.6584, allocations: 0.8525 MB / 0.937 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6584, allocations: 15.94 kB / 0.937 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6584, allocations: 3.984 kB / 0.937 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.6584, allocations: 3.984 kB / 0.937 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.6595, allocations: 0.9637 MB / 0.938 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6595, allocations: 0 / 0.938 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.6599, allocations: 127.8 kB / 0.9381 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6599, allocations: 4 kB / 0.9381 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.66, allocations: 23.98 kB / 0.9381 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.66, allocations: 8.031 kB / 0.9381 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.66, allocations: 0 / 0.9381 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.6611, allocations: 0.7354 MB / 0.9389 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.6614, allocations: 259.8 kB / 0.9391 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6615, allocations: 27.92 kB / 0.9391 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.662, allocations: 51.95 kB / 0.9392 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.6621, allocations: 68.5 kB / 0.9392 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.6622, allocations: 27.98 kB / 0.9393 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005118/0.6627, allocations: 455 kB / 0.9397 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6627, allocations: 0 / 0.9397 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006523/0.6634, allocations: 263.5 kB / 0.94 GB, free: 428 kB / 0.7012 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.00253/0.6659, allocations: 1.781 MB / 0.9417 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.667, allocations: 0.556 MB / 0.9422 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.667, allocations: 3.938 kB / 0.9422 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.6677, allocations: 327.9 kB / 0.9425 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6695, allocations: 265.2 kB / 0.9428 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.681, allocations: 5.485 MB / 0.9482 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.6818, allocations: 0.9796 MB / 0.9491 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001189/0.683, allocations: 246.2 kB / 0.9494 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.6837, allocations: 335.3 kB / 0.9497 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/0.6837, allocations: 3.938 kB / 0.9497 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4677/1.151, allocations: 18.71 MB / 0.9679 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/9.866, allocations: 10.94 kB / 0.968 GB, free: 185.3 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)