Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",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.001087/0.001087, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.0009796/0.0009796, allocations: 191 kB / 17.2 MB, free: 5.613 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.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3408, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002743/0.3436, allocations: 1.469 MB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3449, allocations: 1.107 MB / 0.5698 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.345, allocations: 1.219 kB / 0.5698 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3452, allocations: 13.44 kB / 0.5698 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3454, allocations: 44.03 kB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3456, allocations: 59.69 kB / 0.5699 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3459, allocations: 146.9 kB / 0.57 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.3461, allocations: 64.06 kB / 0.5701 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3462, allocations: 87.28 kB / 0.5702 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.3465, allocations: 58.69 kB / 0.5702 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.3465, allocations: 11.5 kB / 0.5703 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3466, allocations: 24.8 kB / 0.5703 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3468, allocations: 57.94 kB / 0.5703 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3469, allocations: 72.14 kB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.3472, allocations: 196.4 kB / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3472, allocations: 0 / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3472, allocations: 1.688 kB / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3472, allocations: 0 / 0.5706 GB, free: 30.55 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006726/0.3479, allocations: 0.4894 MB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3479, allocations: 9.906 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.348, allocations: 40.31 kB / 0.5711 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.3481, allocations: 17.66 kB / 0.5711 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3483, allocations: 260.4 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3485, allocations: 116.3 kB / 0.5715 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3485, allocations: 9.812 kB / 0.5715 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.3488, allocations: 156.3 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3488, allocations: 1.312 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3489, allocations: 2.75 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.3489, allocations: 15.98 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.349, allocations: 45.61 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.35, allocations: 466.1 kB / 0.5722 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.3501, allocations: 36.94 kB / 0.5722 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.3502, allocations: 22.72 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3502, allocations: 3.922 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3502, allocations: 37.78 kB / 0.5723 GB, free: 29.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3502, allocations: 1.312 kB / 0.5723 GB, free: 29.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002685/0.3505, allocations: 113.6 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.3505, allocations: 56.81 kB / 0.5724 GB, free: 29.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3507, allocations: 212 kB / 0.5726 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3508, allocations: 32.8 kB / 0.5727 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3508, allocations: 125.4 kB / 0.5728 GB, free: 28.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3509, allocations: 29.03 kB / 0.5728 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3509, allocations: 31.47 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.351, allocations: 329.4 kB / 0.5731 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.351, allocations: 23.28 kB / 0.5732 GB, free: 28.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.3511, allocations: 102.1 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3512, allocations: 139.7 kB / 0.5734 GB, free: 28.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3513, allocations: 5.469 kB / 0.5734 GB, free: 28.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002158/0.3515, allocations: 157.2 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3515, allocations: 5.719 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3515, allocations: 4.938 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3515, allocations: 3.656 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.3516, allocations: 25.75 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3516, allocations: 8.25 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.3517, allocations: 7.094 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3517, allocations: 10.69 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.008e-05/0.3518, allocations: 149.8 kB / 0.5738 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.3519, allocations: 16.2 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.3521, allocations: 114.4 kB / 0.5739 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3521, allocations: 2.875 kB / 0.5739 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3521, allocations: 3.938 kB / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3521, allocations: 0.5156 kB / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3523, allocations: 233.8 kB / 0.5741 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3523, allocations: 1.656 kB / 0.5741 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.3524, allocations: 15.31 kB / 0.5741 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3524, allocations: 7.516 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3524, allocations: 1.781 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3524, allocations: 1.156 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3524, allocations: 7.875 kB / 0.5742 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.3526, allocations: 183.8 kB / 0.5743 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3526, allocations: 93 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3526, allocations: 1.797 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.3529, allocations: 19.41 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.3529, allocations: 9.266 kB / 0.5744 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3529, allocations: 15.64 kB / 0.5745 GB, free: 27.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3531, allocations: 159.6 kB / 0.5746 GB, free: 27.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3531, allocations: 0.5 kB / 0.5746 GB, free: 27.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3534, allocations: 28.8 kB / 0.5746 GB, free: 27.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0004664/0.3539, allocations: 0.7512 MB / 0.5754 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3541, allocations: 84.52 kB / 0.5755 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3541, allocations: 0.6875 kB / 0.5755 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.3541, allocations: 24.06 kB / 0.5755 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3544, allocations: 32.91 kB / 0.5755 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3561, allocations: 1.918 MB / 0.5774 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3563, allocations: 0.7308 MB / 0.5781 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.3564, allocations: 57.75 kB / 0.5781 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3565, allocations: 46.05 kB / 0.5782 GB, free: 24.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3565, allocations: 1.094 kB / 0.5782 GB, free: 24.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3793, allocations: 4.199 MB / 0.5823 GB, free: 23.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.58, allocations: 10.73 kB / 0.5823 GB, free: 23.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)