Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.005847/0.005847, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001295/0.001294, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.281/1.281, 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.002052/0.002052, allocations: 299.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 91.86 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4811, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005666/0.4868, allocations: 4.263 MB / 0.77 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.648, allocations: 150.5 MB / 0.917 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.6489, allocations: 15.94 kB / 0.917 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.6494, allocations: 162.5 kB / 0.9172 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.651, allocations: 0.4901 MB / 0.9177 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.6527, allocations: 0.75 MB / 0.9184 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.6539, allocations: 1.207 MB / 0.9196 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.6546, allocations: 0.5062 MB / 0.9201 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.6551, allocations: 406.5 kB / 0.9205 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.6556, allocations: 422 kB / 0.9209 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.6557, allocations: 100 kB / 0.921 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.6565, allocations: 403.7 kB / 0.9214 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.6567, allocations: 259.1 kB / 0.9216 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.6572, allocations: 485.5 kB / 0.9221 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6586, allocations: 1.39 MB / 0.9234 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6586, allocations: 0 / 0.9234 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6586, allocations: 4 kB / 0.9234 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6586, allocations: 0 / 0.9234 GB, free: 1.898 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.002078/0.6607, allocations: 1.277 MB / 0.9247 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6607, allocations: 12.03 kB / 0.9247 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.6609, allocations: 114.7 kB / 0.9248 GB, free: 444 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.6612, allocations: 107.7 kB / 0.9249 GB, free: 336 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6623, allocations: 0.7187 MB / 0.9256 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.6623, allocations: 50 kB / 0.9256 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.6624, allocations: 72 kB / 0.9257 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6635, allocations: 0.7759 MB / 0.9265 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6636, allocations: 0 / 0.9265 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.6636, allocations: 32 kB / 0.9265 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6637, allocations: 16 kB / 0.9265 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.665, allocations: 0.9689 MB / 0.9275 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.6683, allocations: 2.462 MB / 0.9299 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6694, allocations: 0.6792 MB / 0.9305 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.6698, allocations: 251.3 kB / 0.9308 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.6699, allocations: 24.52 kB / 0.9308 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.6705, allocations: 430.2 kB / 0.9312 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.945e-06/0.6705, allocations: 0 / 0.9312 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001457/0.672, allocations: 0.835 MB / 0.932 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.6721, allocations: 247.9 kB / 0.9323 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.6729, allocations: 0.6369 MB / 0.9329 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.673, allocations: 37.7 kB / 0.9329 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.6733, allocations: 364.5 kB / 0.9333 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.6735, allocations: 228.8 kB / 0.9335 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.6737, allocations: 134.4 kB / 0.9336 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6738, allocations: 378.8 kB / 0.934 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.6742, allocations: 201.2 kB / 0.9342 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.6746, allocations: 325.3 kB / 0.9345 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.6754, allocations: 0.4939 MB / 0.935 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6754, allocations: 7.938 kB / 0.935 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001021/0.6764, allocations: 0.6447 MB / 0.9356 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6764, allocations: 4 kB / 0.9356 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6765, allocations: 0 / 0.9356 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6765, allocations: 8 kB / 0.9356 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.677, allocations: 139.7 kB / 0.9357 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.677, allocations: 4 kB / 0.9357 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.6775, allocations: 75.39 kB / 0.9358 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.6776, allocations: 36.12 kB / 0.9358 GB, free: 4.746 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.0003589/0.678, allocations: 256 kB / 0.9361 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6781, allocations: 83.05 kB / 0.9362 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.6796, allocations: 0.8485 MB / 0.937 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6796, allocations: 11.94 kB / 0.937 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6796, allocations: 0 / 0.937 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6796, allocations: 3.984 kB / 0.937 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6808, allocations: 0.9677 MB / 0.938 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6808, allocations: 3.938 kB / 0.938 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.6813, allocations: 123.8 kB / 0.9381 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6813, allocations: 4 kB / 0.9381 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.6813, allocations: 27.97 kB / 0.9381 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.6813, allocations: 3.938 kB / 0.9381 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6813, allocations: 4 kB / 0.9381 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6824, allocations: 0.7316 MB / 0.9388 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.6828, allocations: 263.8 kB / 0.9391 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6829, allocations: 23.94 kB / 0.9391 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.6834, allocations: 55.94 kB / 0.9392 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6836, allocations: 56.58 kB / 0.9392 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.6836, allocations: 27.98 kB / 0.9392 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005387/0.6842, allocations: 467 kB / 0.9397 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6842, allocations: 0 / 0.9397 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006878/0.6849, allocations: 259.5 kB / 0.9399 GB, free: 456 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.002631/0.6875, allocations: 1.78 MB / 0.9417 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.6885, allocations: 0.556 MB / 0.9422 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6885, allocations: 4 kB / 0.9422 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.689, allocations: 327.5 kB / 0.9425 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.69, allocations: 260.5 kB / 0.9428 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.6973, allocations: 5.485 MB / 0.9481 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.6979, allocations: 0.9836 MB / 0.9491 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.6986, allocations: 254.2 kB / 0.9493 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.699, allocations: 327.3 kB / 0.9496 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.699, allocations: 0 / 0.9496 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/1.102, allocations: 18.22 MB / 0.9674 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/9.815, allocations: 8.891 kB / 0.9675 GB, free: 185.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)