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.00118/0.00118, allocations: 104.2 kB / 16.4 MB, free: 6.469 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.001171/0.001171, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7514/0.7514, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.56 kB / 0.5679 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 77.92 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002973/0.1291, allocations: 1.481 MB / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1307, allocations: 1.106 MB / 0.6466 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.1308, allocations: 0 / 0.6466 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.131, allocations: 19.86 kB / 0.6466 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1312, allocations: 35.78 kB / 0.6466 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1314, allocations: 67.84 kB / 0.6467 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1316, allocations: 147.6 kB / 0.6468 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1318, allocations: 61.09 kB / 0.6469 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1319, allocations: 79.7 kB / 0.647 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1321, allocations: 63.69 kB / 0.647 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1321, allocations: 12 kB / 0.647 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.1322, allocations: 24 kB / 0.647 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.1323, allocations: 43.88 kB / 0.6471 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1324, allocations: 75.58 kB / 0.6472 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1327, allocations: 207.4 kB / 0.6474 GB, free: 6.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1327, allocations: 0 / 0.6474 GB, free: 6.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1327, allocations: 4 kB / 0.6474 GB, free: 6.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1327, allocations: 4 kB / 0.6474 GB, free: 6.137 MB / 494.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.0007097/0.1334, allocations: 0.4906 MB / 0.6478 GB, free: 5.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1335, allocations: 12.62 kB / 0.6479 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.1335, allocations: 38.73 kB / 0.6479 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.1336, allocations: 20.84 kB / 0.6479 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1339, allocations: 244.1 kB / 0.6481 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.1341, allocations: 127.4 kB / 0.6483 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1341, allocations: 4.375 kB / 0.6483 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.1345, allocations: 161.4 kB / 0.6484 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1345, allocations: 0 / 0.6484 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.1345, allocations: 4 kB / 0.6484 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.1345, allocations: 11.98 kB / 0.6484 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.196e-05/0.1346, allocations: 43.86 kB / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1357, allocations: 468.4 kB / 0.6489 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.1358, allocations: 26.58 kB / 0.649 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.1359, allocations: 32.84 kB / 0.649 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1359, allocations: 8 kB / 0.649 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1359, allocations: 30.56 kB / 0.649 GB, free: 4.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1359, allocations: 7.875 kB / 0.649 GB, free: 4.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002592/0.1362, allocations: 113.7 kB / 0.6491 GB, free: 4.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1362, allocations: 59.34 kB / 0.6492 GB, free: 4.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1365, allocations: 211.9 kB / 0.6494 GB, free: 3.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1365, allocations: 29.7 kB / 0.6494 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.1366, allocations: 128 kB / 0.6496 GB, free: 3.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1366, allocations: 27.8 kB / 0.6496 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1367, allocations: 25.7 kB / 0.6496 GB, free: 3.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1368, allocations: 326.8 kB / 0.6499 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1368, allocations: 31.97 kB / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.1369, allocations: 106.2 kB / 0.65 GB, free: 3.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1371, allocations: 138.2 kB / 0.6502 GB, free: 2.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1371, allocations: 3.984 kB / 0.6502 GB, free: 2.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002576/0.1374, allocations: 153.3 kB / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1374, allocations: 8 kB / 0.6503 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1374, allocations: 4 kB / 0.6503 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1375, allocations: 4 kB / 0.6503 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1376, allocations: 23.92 kB / 0.6504 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1376, allocations: 7.938 kB / 0.6504 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.1376, allocations: 12.27 kB / 0.6504 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1377, allocations: 16 kB / 0.6504 GB, free: 2.691 MB / 494.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 0.0001225/0.1378, allocations: 141.8 kB / 0.6505 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.1379, allocations: 15.91 kB / 0.6505 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.1381, allocations: 111.2 kB / 0.6507 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1381, allocations: 4 kB / 0.6507 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.1381, allocations: 7.922 kB / 0.6507 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1381, allocations: 7.875 kB / 0.6507 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1384, allocations: 233.5 kB / 0.6509 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1384, allocations: 4 kB / 0.6509 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.1384, allocations: 15.98 kB / 0.6509 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1384, allocations: 0 / 0.6509 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1384, allocations: 0 / 0.6509 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1384, allocations: 0 / 0.6509 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1385, allocations: 7.938 kB / 0.6509 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1387, allocations: 183.8 kB / 0.6511 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1387, allocations: 93 kB / 0.6512 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1387, allocations: 3.938 kB / 0.6512 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.139, allocations: 23.98 kB / 0.6512 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.139, allocations: 15.86 kB / 0.6512 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1391, allocations: 7.984 kB / 0.6512 GB, free: 1.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1392, allocations: 165.5 kB / 0.6514 GB, free: 1.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 0.6514 GB, free: 1.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.1395, allocations: 31.89 kB / 0.6514 GB, free: 1.543 MB / 494.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.0005584/0.1401, allocations: 0.7441 MB / 0.6522 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1403, allocations: 76.27 kB / 0.6522 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1403, allocations: 0 / 0.6522 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.1403, allocations: 31.92 kB / 0.6523 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1407, allocations: 23.92 kB / 0.6523 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1425, allocations: 1.917 MB / 0.6542 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1428, allocations: 0.7353 MB / 0.6549 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000125/0.1429, allocations: 56.78 kB / 0.6549 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.143, allocations: 47.41 kB / 0.655 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.143, allocations: 0 / 0.655 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.1652, allocations: 4.251 MB / 0.6591 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.023, allocations: 8.312 kB / 0.6591 GB, free: 9.629 MB / 0.4981 GB (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)