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.001457/0.001457, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 186.9 kB / 16.66 MB, free: 6.602 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 286.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 104.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1395, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005545/0.1451, allocations: 4.269 MB / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4077/0.5528, allocations: 150.5 MB / 0.917 GB, free: 8.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.5534, allocations: 19.88 kB / 0.9171 GB, free: 8.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.554, allocations: 160.7 kB / 0.9172 GB, free: 7.934 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.5554, allocations: 493 kB / 0.9177 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.557, allocations: 0.7472 MB / 0.9184 GB, free: 6.746 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.5583, allocations: 1.207 MB / 0.9196 GB, free: 5.535 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.559, allocations: 0.5068 MB / 0.9201 GB, free: 5.016 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.5595, allocations: 406.5 kB / 0.9205 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.5601, allocations: 422.9 kB / 0.9209 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.5602, allocations: 100 kB / 0.921 GB, free: 4.105 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.5609, allocations: 403.6 kB / 0.9214 GB, free: 3.711 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.5611, allocations: 255.2 kB / 0.9216 GB, free: 3.461 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.5616, allocations: 485.5 kB / 0.9221 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.5631, allocations: 1.402 MB / 0.9234 GB, free: 1.586 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5631, allocations: 0 / 0.9234 GB, free: 1.586 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5631, allocations: 0 / 0.9234 GB, free: 1.586 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.337e-05/0.5632, allocations: 1.406 kB / 0.9234 GB, free: 1.586 MB / 0.67 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.002157/0.5653, allocations: 1.314 MB / 0.9247 GB, free: 220 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5654, allocations: 8.031 kB / 0.9247 GB, free: 212 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.5655, allocations: 114.6 kB / 0.9248 GB, free: 88 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.5658, allocations: 114.2 kB / 0.925 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5668, allocations: 0.7179 MB / 0.9257 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.5669, allocations: 50.88 kB / 0.9257 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/0.567, allocations: 71.92 kB / 0.9258 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.5681, allocations: 0.7721 MB / 0.9265 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5682, allocations: 0 / 0.9265 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.5682, allocations: 31.94 kB / 0.9266 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5682, allocations: 16 kB / 0.9266 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.5696, allocations: 0.9767 MB / 0.9275 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5727, allocations: 2.459 MB / 0.9299 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5738, allocations: 0.6891 MB / 0.9306 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.5742, allocations: 251.3 kB / 0.9308 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/0.5743, allocations: 32.45 kB / 0.9309 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/0.5749, allocations: 427.6 kB / 0.9313 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 1.874e-06/0.5749, allocations: 0 / 0.9313 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.001415/0.5763, allocations: 0.8343 MB / 0.9321 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5765, allocations: 243.8 kB / 0.9323 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.5772, allocations: 0.6293 MB / 0.9329 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.5773, allocations: 41.7 kB / 0.933 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.5776, allocations: 377.1 kB / 0.9333 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.5778, allocations: 234 kB / 0.9336 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.578, allocations: 134.2 kB / 0.9337 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5781, allocations: 386.8 kB / 0.9341 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.5785, allocations: 197.2 kB / 0.9342 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.5789, allocations: 325.4 kB / 0.9346 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.5797, allocations: 0.5004 MB / 0.935 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5797, allocations: 4 kB / 0.935 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001034/0.5807, allocations: 0.6412 MB / 0.9357 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5808, allocations: 8 kB / 0.9357 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5808, allocations: 3.984 kB / 0.9357 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5808, allocations: 8.094 kB / 0.9357 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.5813, allocations: 131.8 kB / 0.9358 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.5813, allocations: 14.17 kB / 0.9358 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.5818, allocations: 83.73 kB / 0.9359 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.5818, allocations: 27.98 kB / 0.9359 GB, free: 4.363 MB / 0.6856 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.0003052/0.5821, allocations: 250.3 kB / 0.9362 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5823, allocations: 83.42 kB / 0.9363 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.5837, allocations: 0.8517 MB / 0.9371 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5838, allocations: 11.94 kB / 0.9371 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5838, allocations: 4 kB / 0.9371 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5838, allocations: 7.984 kB / 0.9371 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.5848, allocations: 0.9677 MB / 0.9381 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5849, allocations: 0 / 0.9381 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.5853, allocations: 123.8 kB / 0.9382 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5853, allocations: 4 kB / 0.9382 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.5853, allocations: 23.98 kB / 0.9382 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5854, allocations: 4 kB / 0.9382 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5854, allocations: 0 / 0.9382 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5865, allocations: 0.7475 MB / 0.9389 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.5868, allocations: 260.3 kB / 0.9392 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5869, allocations: 25.77 kB / 0.9392 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.5874, allocations: 54.19 kB / 0.9393 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5875, allocations: 64.56 kB / 0.9393 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.5876, allocations: 31.98 kB / 0.9394 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005121/0.5881, allocations: 459 kB / 0.9398 GB, free: 324 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5881, allocations: 0 / 0.9398 GB, free: 324 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006841/0.5888, allocations: 271.2 kB / 0.94 GB, free: 52 kB / 0.6856 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.003012/0.5918, allocations: 1.781 MB / 0.9418 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009138/0.5927, allocations: 0.5521 MB / 0.9423 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5927, allocations: 0 / 0.9423 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.5932, allocations: 323.6 kB / 0.9426 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.5942, allocations: 282.4 kB / 0.9429 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.6013, allocations: 5.536 MB / 0.9483 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.6018, allocations: 0.9757 MB / 0.9493 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006152/0.6025, allocations: 250.2 kB / 0.9495 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.6029, allocations: 327.3 kB / 0.9498 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.6029, allocations: 7.938 kB / 0.9498 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.003/3.606, allocations: 18.37 MB / 0.9678 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/14.56, allocations: 7.344 kB / 0.9678 GB, free: 4.02 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)