Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.001307/0.001307, 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.001317/0.001317, allocations: 198.2 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 278.9 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 97.92 kB / 0.6065 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 89.14 MB / 0.6936 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006609/0.1548, allocations: 4.524 MB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4301/0.5849, allocations: 150.5 MB / 0.845 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007092/0.5857, allocations: 19.25 kB / 0.845 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.5862, allocations: 173.2 kB / 0.8452 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.5876, allocations: 0.5084 MB / 0.8457 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.5894, allocations: 0.7551 MB / 0.8464 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.5905, allocations: 1.237 MB / 0.8476 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.5912, allocations: 0.4908 MB / 0.8481 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.5917, allocations: 404.9 kB / 0.8485 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.5922, allocations: 427.9 kB / 0.8489 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.5923, allocations: 101.2 kB / 0.849 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.5929, allocations: 378.7 kB / 0.8494 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.5932, allocations: 254.9 kB / 0.8496 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.5936, allocations: 479.9 kB / 0.8501 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.595, allocations: 1.38 MB / 0.8514 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5951, allocations: 0 / 0.8514 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5951, allocations: 0 / 0.8514 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.5951, allocations: 0 / 0.8514 GB, free: 3.332 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.00218/0.5973, allocations: 1.282 MB / 0.8527 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5973, allocations: 10 kB / 0.8527 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.5975, allocations: 114.8 kB / 0.8528 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.5978, allocations: 108.5 kB / 0.8529 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/0.5988, allocations: 0.7121 MB / 0.8536 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.5988, allocations: 47.16 kB / 0.8536 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.5989, allocations: 64.12 kB / 0.8537 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.6001, allocations: 0.7717 MB / 0.8545 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.6002, allocations: 3.938 kB / 0.8545 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.6003, allocations: 31.67 kB / 0.8545 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6003, allocations: 17.69 kB / 0.8545 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6016, allocations: 0.9652 MB / 0.8555 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.6051, allocations: 2.493 MB / 0.8579 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.6062, allocations: 0.6873 MB / 0.8586 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.6066, allocations: 255.3 kB / 0.8588 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.275e-05/0.6066, allocations: 29.55 kB / 0.8588 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.6073, allocations: 430.2 kB / 0.8592 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.6073, allocations: 0 / 0.8592 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001459/0.6088, allocations: 0.8266 MB / 0.86 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.609, allocations: 249.3 kB / 0.8603 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.6097, allocations: 0.6274 MB / 0.8609 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.6097, allocations: 43.08 kB / 0.8609 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.61, allocations: 367.3 kB / 0.8613 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6102, allocations: 223.2 kB / 0.8615 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.6104, allocations: 129.1 kB / 0.8616 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6106, allocations: 384.5 kB / 0.862 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.611, allocations: 204.3 kB / 0.8622 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.6114, allocations: 321.8 kB / 0.8625 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.6122, allocations: 0.4998 MB / 0.863 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6122, allocations: 0 / 0.863 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001004/0.6132, allocations: 0.6384 MB / 0.8636 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6132, allocations: 4.688 kB / 0.8636 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6133, allocations: 2.812 kB / 0.8636 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6133, allocations: 4.688 kB / 0.8636 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.6138, allocations: 131.5 kB / 0.8637 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6138, allocations: 8.75 kB / 0.8637 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.6143, allocations: 90.95 kB / 0.8638 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.6144, allocations: 25.86 kB / 0.8639 GB, free: 10.59 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.0003154/0.6147, allocations: 251.3 kB / 0.8641 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6148, allocations: 77.03 kB / 0.8642 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.6164, allocations: 0.8547 MB / 0.865 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6164, allocations: 10.12 kB / 0.865 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6164, allocations: 3.938 kB / 0.865 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6164, allocations: 3.984 kB / 0.865 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6175, allocations: 0.9729 MB / 0.866 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6176, allocations: 3.938 kB / 0.866 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.618, allocations: 131.2 kB / 0.8661 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.618, allocations: 9.594 kB / 0.8661 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.618, allocations: 19.36 kB / 0.8661 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6181, allocations: 2.719 kB / 0.8661 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6181, allocations: 0 / 0.8661 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.6192, allocations: 0.7401 MB / 0.8669 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.6195, allocations: 261.5 kB / 0.8671 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6197, allocations: 24.03 kB / 0.8671 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.6202, allocations: 52.97 kB / 0.8672 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6203, allocations: 55.89 kB / 0.8672 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.6204, allocations: 40.62 kB / 0.8673 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00053/0.6209, allocations: 452.8 kB / 0.8677 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6209, allocations: 0 / 0.8677 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006293/0.6216, allocations: 266.7 kB / 0.868 GB, free: 7.977 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.003201/0.6248, allocations: 1.802 MB / 0.8697 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.6263, allocations: 0.72 MB / 0.8704 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6263, allocations: 0 / 0.8704 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.6269, allocations: 323.6 kB / 0.8707 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6279, allocations: 276.1 kB / 0.871 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.636, allocations: 5.721 MB / 0.8766 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.6367, allocations: 0.9797 MB / 0.8775 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007193/0.6374, allocations: 246.3 kB / 0.8778 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.6379, allocations: 327.3 kB / 0.8781 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.6379, allocations: 0 / 0.8781 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/0.6862, allocations: 18.52 MB / 0.8962 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/9.208, allocations: 11.7 kB / 0.8962 GB, free: 11.94 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14653.4 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)