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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001013/0.001013, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009779/0.0009782, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.072/1.072, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001628/0.1902, allocations: 1.171 MB / 0.5985 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.1911, allocations: 0.6077 MB / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.1912, allocations: 0 / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.1912, allocations: 3.938 kB / 0.5991 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.1913, allocations: 19.97 kB / 0.5991 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.1921, allocations: 274.8 kB / 0.5994 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1923, allocations: 99.81 kB / 0.5995 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.1923, allocations: 7.984 kB / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.1924, allocations: 67.81 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1925, allocations: 39.84 kB / 0.5996 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1925, allocations: 12 kB / 0.5996 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.1928, allocations: 203.7 kB / 0.5998 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.1929, allocations: 39.88 kB / 0.5998 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.193, allocations: 45.64 kB / 0.5999 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1933, allocations: 211.9 kB / 0.6001 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1933, allocations: 0 / 0.6001 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1933, allocations: 0 / 0.6001 GB, free: 5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1933, allocations: 0 / 0.6001 GB, free: 5 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.0006066/0.1939, allocations: 456.9 kB / 0.6005 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.194, allocations: 8.031 kB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.194, allocations: 42.55 kB / 0.6005 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1941, allocations: 23.7 kB / 0.6006 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1943, allocations: 202.9 kB / 0.6008 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1943, allocations: 8 kB / 0.6008 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1944, allocations: 8 kB / 0.6008 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1945, allocations: 106 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1946, allocations: 0 / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1946, allocations: 4 kB / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1946, allocations: 0 / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.1947, allocations: 43.97 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.1949, allocations: 251.3 kB / 0.6012 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1951, allocations: 111.8 kB / 0.6013 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1951, allocations: 8.078 kB / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.1954, allocations: 138.4 kB / 0.6014 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.1954, allocations: 0 / 0.6014 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0005026/0.1959, allocations: 457.3 kB / 0.6018 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.196, allocations: 118.8 kB / 0.602 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1961, allocations: 143.8 kB / 0.6021 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1961, allocations: 37.7 kB / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1962, allocations: 92.7 kB / 0.6022 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.1962, allocations: 55.33 kB / 0.6023 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.1963, allocations: 4 kB / 0.6023 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1964, allocations: 334.8 kB / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1965, allocations: 56.25 kB / 0.6027 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1967, allocations: 177 kB / 0.6028 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1968, allocations: 67.97 kB / 0.6029 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1968, allocations: 0 / 0.6029 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002801/0.1971, allocations: 193.3 kB / 0.6031 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1971, allocations: 4 kB / 0.6031 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.1971, allocations: 4 kB / 0.6031 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1972, allocations: 4.141 kB / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.1973, allocations: 23.92 kB / 0.6031 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1973, allocations: 4 kB / 0.6031 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1975, allocations: 51.8 kB / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1975, allocations: 11.98 kB / 0.6032 GB, free: 1.438 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.1977, allocations: 140 kB / 0.6033 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1977, allocations: 23.8 kB / 0.6033 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.1977, allocations: 12.72 kB / 0.6033 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1977, allocations: 4 kB / 0.6033 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1978, allocations: 0 / 0.6033 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1978, allocations: 0 / 0.6033 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1979, allocations: 213.4 kB / 0.6035 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.198, allocations: 4 kB / 0.6035 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.198, allocations: 8 kB / 0.6036 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.198, allocations: 0 / 0.6036 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.198, allocations: 7.984 kB / 0.6036 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.198, allocations: 4 kB / 0.6036 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.198, allocations: 3.938 kB / 0.6036 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1983, allocations: 237.9 kB / 0.6038 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1984, allocations: 88.95 kB / 0.6039 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1984, allocations: 7.984 kB / 0.6039 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.1985, allocations: 8 kB / 0.6039 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1986, allocations: 11.98 kB / 0.6039 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1986, allocations: 7.953 kB / 0.6039 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.1986, allocations: 103.2 kB / 0.604 GB, free: 468 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1987, allocations: 4 kB / 0.604 GB, free: 464 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003447/0.199, allocations: 99.98 kB / 0.6041 GB, free: 364 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3422/0.5412, allocations: 0.9998 MB / 0.6051 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.5417, allocations: 221 kB / 0.6053 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5418, allocations: 2.641 kB / 0.6053 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.5419, allocations: 55.12 kB / 0.6054 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.542, allocations: 8.109 kB / 0.6054 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5432, allocations: 1.148 MB / 0.6065 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.5433, allocations: 0.7158 MB / 0.6072 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.5434, allocations: 10.11 kB / 0.6072 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.5434, allocations: 31.78 kB / 0.6072 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.5434, allocations: 0 / 0.6072 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.5578, allocations: 4.307 MB / 0.6114 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.558, allocations: 221.9 kB / 0.6116 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.335, allocations: 0 / 0.6116 GB, free: 38.38 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: