Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001268/0.001268, 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.00112/0.00112, allocations: 195.5 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.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8588/0.8588, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.129, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002241/0.1313, allocations: 1.483 MB / 0.5958 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.1322, allocations: 0.689 MB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.1323, allocations: 4 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.1324, allocations: 11.86 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.1324, allocations: 23.78 kB / 0.5965 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.1333, allocations: 338.5 kB / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1335, allocations: 167.7 kB / 0.597 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1335, allocations: 7.984 kB / 0.597 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.1336, allocations: 71.83 kB / 0.5971 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.1337, allocations: 47.77 kB / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1337, allocations: 12 kB / 0.5972 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.134, allocations: 251.7 kB / 0.5974 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.1341, allocations: 43.89 kB / 0.5974 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.1341, allocations: 59.72 kB / 0.5975 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1345, allocations: 303.6 kB / 0.5978 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1345, allocations: 0 / 0.5978 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1345, allocations: 0 / 0.5978 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1345, allocations: 0 / 0.5978 GB, free: 5.984 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005143/0.135, allocations: 478.9 kB / 0.5982 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1351, allocations: 8.031 kB / 0.5983 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.1351, allocations: 46.73 kB / 0.5983 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1352, allocations: 12.84 kB / 0.5983 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1353, allocations: 217.6 kB / 0.5985 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1354, allocations: 8.375 kB / 0.5985 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1354, allocations: 12.38 kB / 0.5985 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1355, allocations: 92.73 kB / 0.5986 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1356, allocations: 7.938 kB / 0.5986 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1356, allocations: 4 kB / 0.5986 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.1356, allocations: 4 kB / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.1357, allocations: 43.97 kB / 0.5987 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1359, allocations: 251.2 kB / 0.5989 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.136, allocations: 115.8 kB / 0.599 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.1361, allocations: 70.67 kB / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1361, allocations: 3.984 kB / 0.5991 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.1363, allocations: 136.8 kB / 0.5992 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.1363, allocations: 4 kB / 0.5992 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.000345/0.1367, allocations: 217.4 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1367, allocations: 114.8 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1368, allocations: 143.9 kB / 0.5997 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.1369, allocations: 41.7 kB / 0.5997 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.1369, allocations: 96.69 kB / 0.5998 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.137, allocations: 51.36 kB / 0.5999 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.1371, allocations: 61.69 kB / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.1372, allocations: 334.8 kB / 0.6002 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.1372, allocations: 44.27 kB / 0.6003 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.1374, allocations: 180 kB / 0.6005 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1376, allocations: 138.5 kB / 0.6006 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1376, allocations: 0 / 0.6006 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002533/0.1379, allocations: 205.2 kB / 0.6008 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1379, allocations: 4 kB / 0.6008 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.1379, allocations: 4 kB / 0.6008 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1379, allocations: 4 kB / 0.6008 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.138, allocations: 15.98 kB / 0.6008 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.138, allocations: 4 kB / 0.6008 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1382, allocations: 47.8 kB / 0.6009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1382, allocations: 12 kB / 0.6009 GB, free: 2.473 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.941e-05/0.1383, allocations: 140 kB / 0.601 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1384, allocations: 15.81 kB / 0.601 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.1384, allocations: 12.72 kB / 0.601 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1384, allocations: 4 kB / 0.601 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.1384, allocations: 0 / 0.601 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1384, allocations: 3.984 kB / 0.601 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1386, allocations: 217.3 kB / 0.6013 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1386, allocations: 4 kB / 0.6013 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.1386, allocations: 11.98 kB / 0.6013 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1386, allocations: 0 / 0.6013 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1387, allocations: 7.938 kB / 0.6013 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1387, allocations: 0 / 0.6013 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1387, allocations: 0 / 0.6013 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1389, allocations: 214.6 kB / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.139, allocations: 92.86 kB / 0.6016 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.139, allocations: 4 kB / 0.6016 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.139, allocations: 3.938 kB / 0.6016 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1391, allocations: 19.92 kB / 0.6016 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1391, allocations: 4 kB / 0.6016 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.1391, allocations: 109.7 kB / 0.6017 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1392, allocations: 4 kB / 0.6017 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000295/0.1395, allocations: 99.98 kB / 0.6018 GB, free: 1.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005876/0.14, allocations: 0.8455 MB / 0.6026 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.1403, allocations: 224.9 kB / 0.6028 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1403, allocations: 4 kB / 0.6028 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.1404, allocations: 55.92 kB / 0.6029 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1406, allocations: 15.88 kB / 0.6029 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1891/0.3297, allocations: 1.798 MB / 0.6047 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.3298, allocations: 0.7096 MB / 0.6054 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.3298, allocations: 12.73 kB / 0.6054 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.3299, allocations: 33.64 kB / 0.6054 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.3299, allocations: 0.5312 kB / 0.6054 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.3475, allocations: 4.613 MB / 0.6099 GB, free: 41.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.295/6.642, allocations: 10.62 kB / 0.6099 GB, free: 41.47 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)