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.001345/0.001345, allocations: 108 kB / 15.61 MB, free: 152 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.001385/0.001385, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 291 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 113.1 kB / 0.6066 GB, free: 24.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1561, allocations: 89.13 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006755/0.1629, allocations: 4.527 MB / 0.698 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4403/0.6032, allocations: 150.5 MB / 0.845 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007055/0.6039, allocations: 18.62 kB / 0.8451 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.6044, allocations: 178 kB / 0.8452 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.6059, allocations: 0.5077 MB / 0.8457 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.6076, allocations: 0.7505 MB / 0.8465 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6088, allocations: 1.234 MB / 0.8477 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.6096, allocations: 0.4884 MB / 0.8481 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.6101, allocations: 411.3 kB / 0.8485 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.6106, allocations: 437.5 kB / 0.8489 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.6108, allocations: 97.06 kB / 0.849 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.6114, allocations: 374.5 kB / 0.8494 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.6117, allocations: 258.1 kB / 0.8496 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.6122, allocations: 490.8 kB / 0.8501 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6137, allocations: 1.36 MB / 0.8514 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6137, allocations: 0 / 0.8514 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6137, allocations: 4 kB / 0.8514 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.6137, allocations: 0 / 0.8514 GB, free: 3.281 MB / 0.5762 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.002262/0.616, allocations: 1.283 MB / 0.8527 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.616, allocations: 10.25 kB / 0.8527 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6162, allocations: 113.9 kB / 0.8528 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.6165, allocations: 111.1 kB / 0.8529 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.6175, allocations: 0.7001 MB / 0.8536 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.6175, allocations: 50.09 kB / 0.8536 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.6176, allocations: 63.84 kB / 0.8537 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6188, allocations: 0.7805 MB / 0.8545 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6188, allocations: 0 / 0.8545 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.6189, allocations: 32.78 kB / 0.8545 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6189, allocations: 15.72 kB / 0.8545 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6202, allocations: 0.9745 MB / 0.8555 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.6236, allocations: 2.485 MB / 0.8579 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.6248, allocations: 0.6845 MB / 0.8586 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.6252, allocations: 254.2 kB / 0.8588 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.6253, allocations: 31.92 kB / 0.8588 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007164/0.626, allocations: 421.7 kB / 0.8592 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/0.626, allocations: 0 / 0.8592 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001528/0.6275, allocations: 0.8356 MB / 0.8601 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.6277, allocations: 243.7 kB / 0.8603 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.6285, allocations: 0.6334 MB / 0.8609 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.6285, allocations: 42.61 kB / 0.8609 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.6289, allocations: 363.4 kB / 0.8613 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.6291, allocations: 224.1 kB / 0.8615 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.6293, allocations: 132.3 kB / 0.8616 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6295, allocations: 380.6 kB / 0.862 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.6298, allocations: 204.9 kB / 0.8622 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.6303, allocations: 328.8 kB / 0.8625 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.6311, allocations: 0.4944 MB / 0.863 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6311, allocations: 2.094 kB / 0.863 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001082/0.6322, allocations: 0.6319 MB / 0.8636 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6322, allocations: 7.469 kB / 0.8636 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.6322, allocations: 4.156 kB / 0.8636 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6322, allocations: 4.75 kB / 0.8636 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.6328, allocations: 132.9 kB / 0.8637 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.6328, allocations: 8.281 kB / 0.8638 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.6333, allocations: 86.23 kB / 0.8638 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.6334, allocations: 27.42 kB / 0.8639 GB, free: 10.54 MB / 0.5919 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.0003555/0.6338, allocations: 256.7 kB / 0.8641 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.6339, allocations: 77.44 kB / 0.8642 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.6355, allocations: 0.8575 MB / 0.865 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6355, allocations: 13.78 kB / 0.865 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.6355, allocations: 3.938 kB / 0.865 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6355, allocations: 3.984 kB / 0.865 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6366, allocations: 0.9692 MB / 0.866 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6367, allocations: 0 / 0.866 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.6371, allocations: 119.9 kB / 0.8661 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.6371, allocations: 12.62 kB / 0.8661 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.6371, allocations: 19.86 kB / 0.8661 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6371, allocations: 6.094 kB / 0.8661 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6372, allocations: 0 / 0.8661 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.6383, allocations: 0.7416 MB / 0.8669 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.6387, allocations: 255.9 kB / 0.8671 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6388, allocations: 23.34 kB / 0.8671 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.6393, allocations: 62 kB / 0.8672 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6394, allocations: 60.34 kB / 0.8672 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.6395, allocations: 27.67 kB / 0.8673 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005373/0.6401, allocations: 457.4 kB / 0.8677 GB, free: 8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6401, allocations: 0 / 0.8677 GB, free: 8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006731/0.6407, allocations: 262.6 kB / 0.868 GB, free: 7.93 MB / 0.5919 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.003259/0.644, allocations: 1.799 MB / 0.8697 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.6456, allocations: 0.7238 MB / 0.8704 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6456, allocations: 320 / 0.8704 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.6461, allocations: 327.6 kB / 0.8707 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6473, allocations: 277.9 kB / 0.871 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.6556, allocations: 5.717 MB / 0.8766 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.6563, allocations: 0.9758 MB / 0.8775 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008206/0.6571, allocations: 246.2 kB / 0.8778 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.6576, allocations: 331.3 kB / 0.8781 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.6576, allocations: 11.88 kB / 0.8781 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/0.7064, allocations: 18.55 MB / 0.8962 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/9.068, allocations: 14.06 kB / 0.8962 GB, free: 11.84 MB / 0.6231 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.csv --start-time -4.71744e+07 --stop-time 4.74336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)