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.00729/0.00729, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.001905/0.001904, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 287 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 103.8 kB / 0.6943 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.493, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006871/0.4999, allocations: 4.533 MB / 0.7857 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.682, allocations: 150.6 MB / 0.9328 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000824/0.6829, allocations: 19.88 kB / 0.9328 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.6834, allocations: 174.4 kB / 0.9329 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6851, allocations: 0.5081 MB / 0.9334 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.687, allocations: 0.7653 MB / 0.9342 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.6883, allocations: 1.242 MB / 0.9354 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.6891, allocations: 0.4908 MB / 0.9359 GB, free: 444 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.6895, allocations: 402.7 kB / 0.9363 GB, free: 40 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.6901, allocations: 438 kB / 0.9367 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.6903, allocations: 100 kB / 0.9368 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.691, allocations: 395.6 kB / 0.9371 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.6913, allocations: 251.2 kB / 0.9374 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.6918, allocations: 493.4 kB / 0.9379 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.6934, allocations: 1.406 MB / 0.9392 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6935, allocations: 0 / 0.9392 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6935, allocations: 0 / 0.9392 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.6935, allocations: 0 / 0.9392 GB, free: 12.98 MB / 0.7012 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.00222/0.6957, allocations: 1.326 MB / 0.9405 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.6958, allocations: 8.031 kB / 0.9405 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.6959, allocations: 114.7 kB / 0.9406 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.6962, allocations: 112.3 kB / 0.9408 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6973, allocations: 0.7232 MB / 0.9415 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.6974, allocations: 54 kB / 0.9415 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.6975, allocations: 64 kB / 0.9416 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6988, allocations: 0.7798 MB / 0.9423 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6988, allocations: 0 / 0.9423 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.6989, allocations: 28 kB / 0.9424 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.6989, allocations: 16 kB / 0.9424 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.7004, allocations: 0.9727 MB / 0.9433 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.7039, allocations: 2.463 MB / 0.9457 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.7051, allocations: 0.6877 MB / 0.9464 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.7055, allocations: 251.3 kB / 0.9466 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-05/0.7056, allocations: 28.52 kB / 0.9467 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007034/0.7063, allocations: 430.3 kB / 0.9471 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.978e-06/0.7063, allocations: 112 / 0.9471 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001593/0.7079, allocations: 0.842 MB / 0.9479 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.7081, allocations: 243.8 kB / 0.9481 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.7089, allocations: 0.6254 MB / 0.9487 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.709, allocations: 45.69 kB / 0.9488 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.7093, allocations: 369 kB / 0.9491 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.7095, allocations: 238.1 kB / 0.9494 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.7097, allocations: 142.2 kB / 0.9495 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.7099, allocations: 378.8 kB / 0.9499 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.7103, allocations: 201.2 kB / 0.9501 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.7108, allocations: 333.3 kB / 0.9504 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.7117, allocations: 0.49 MB / 0.9509 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.7117, allocations: 0 / 0.9509 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00112/0.7128, allocations: 0.6374 MB / 0.9515 GB, free: 8 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7128, allocations: 8 kB / 0.9515 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7128, allocations: 0 / 0.9515 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.7129, allocations: 4.047 kB / 0.9515 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.7134, allocations: 139.7 kB / 0.9516 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.7134, allocations: 4 kB / 0.9516 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.7139, allocations: 89.09 kB / 0.9517 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.714, allocations: 27.98 kB / 0.9517 GB, free: 15.74 MB / 0.7169 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.0003333/0.7143, allocations: 253.6 kB / 0.952 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.7145, allocations: 83.48 kB / 0.9521 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.7161, allocations: 0.8449 MB / 0.9529 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7162, allocations: 11.94 kB / 0.9529 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7162, allocations: 0 / 0.9529 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.7162, allocations: 3.984 kB / 0.9529 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.7173, allocations: 0.9794 MB / 0.9539 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.7174, allocations: 4 kB / 0.9539 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.7178, allocations: 131.7 kB / 0.954 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7178, allocations: 0 / 0.954 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.7179, allocations: 19.98 kB / 0.954 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.7179, allocations: 4 kB / 0.954 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7179, allocations: 3.984 kB / 0.954 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.7191, allocations: 0.7515 MB / 0.9547 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.7195, allocations: 264.2 kB / 0.955 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7196, allocations: 19.94 kB / 0.955 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.7201, allocations: 55.94 kB / 0.9551 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7203, allocations: 60.56 kB / 0.9551 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.7203, allocations: 27.98 kB / 0.9552 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005857/0.7209, allocations: 463 kB / 0.9556 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7209, allocations: 0 / 0.9556 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006592/0.7216, allocations: 263.3 kB / 0.9558 GB, free: 11.41 MB / 0.7169 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.003322/0.7249, allocations: 1.793 MB / 0.9576 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009798/0.7259, allocations: 0.5521 MB / 0.9581 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7259, allocations: 0 / 0.9581 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.7265, allocations: 319.6 kB / 0.9584 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7275, allocations: 290.5 kB / 0.9587 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/0.7353, allocations: 5.542 MB / 0.9641 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.7359, allocations: 0.9692 MB / 0.9651 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006816/0.7366, allocations: 254.2 kB / 0.9653 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.7371, allocations: 335.3 kB / 0.9656 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.7371, allocations: 0 / 0.9656 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.7839, allocations: 18.7 MB / 0.9839 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/10.22, allocations: 18.12 kB / 0.9839 GB, free: 15.01 MB / 0.7481 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)