Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 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.001399/0.001399, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 282.5 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 98.56 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1575, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002597/0.1601, allocations: 1.465 MB / 0.695 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1613, allocations: 0.6984 MB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.1613, allocations: 1.531 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.378e-05/0.1614, allocations: 11.86 kB / 0.6957 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.1615, allocations: 11.88 kB / 0.6957 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.1624, allocations: 352.8 kB / 0.6961 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1627, allocations: 172.4 kB / 0.6962 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.1627, allocations: 8.641 kB / 0.6962 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.1628, allocations: 67.84 kB / 0.6963 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.1629, allocations: 48.5 kB / 0.6964 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1629, allocations: 19.38 kB / 0.6964 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.1633, allocations: 247.8 kB / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.1634, allocations: 35.89 kB / 0.6966 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.1635, allocations: 67.66 kB / 0.6967 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1639, allocations: 299.6 kB / 0.697 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1639, allocations: 0 / 0.697 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1639, allocations: 0 / 0.697 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1639, allocations: 4 kB / 0.697 GB, free: 0.75 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006088/0.1646, allocations: 479.7 kB / 0.6975 GB, free: 236 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1646, allocations: 8.031 kB / 0.6975 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1646, allocations: 38.73 kB / 0.6975 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1647, allocations: 12.84 kB / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1649, allocations: 208.1 kB / 0.6977 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.165, allocations: 8.375 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.165, allocations: 12.31 kB / 0.6977 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1652, allocations: 98.52 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1652, allocations: 11.92 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1652, allocations: 4 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1652, allocations: 3.984 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.1653, allocations: 43.92 kB / 0.6979 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.1656, allocations: 251.3 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1658, allocations: 115.9 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1659, allocations: 66.67 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1659, allocations: 0 / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1662, allocations: 152.5 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.1662, allocations: 0 / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004539/0.1666, allocations: 213.9 kB / 0.6986 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.1667, allocations: 114.8 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1669, allocations: 141.7 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.167, allocations: 41.7 kB / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.1671, allocations: 92.7 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.1671, allocations: 55.33 kB / 0.6991 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1673, allocations: 69.69 kB / 0.6991 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1675, allocations: 322.8 kB / 0.6994 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1677, allocations: 48.27 kB / 0.6995 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.168, allocations: 191.3 kB / 0.6997 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1684, allocations: 130.5 kB / 0.6998 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1684, allocations: 0 / 0.6998 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004676/0.1689, allocations: 201.3 kB / 0.7 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1689, allocations: 5.562 kB / 0.7 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.1689, allocations: 11.92 kB / 0.7 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.169, allocations: 4 kB / 0.7 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1691, allocations: 15.88 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1691, allocations: 4 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1694, allocations: 47.8 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1695, allocations: 12 kB / 0.7001 GB, free: 13.24 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 0.0001697/0.1696, allocations: 140.1 kB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1697, allocations: 15.81 kB / 0.7002 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.1697, allocations: 12.72 kB / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1697, allocations: 4 kB / 0.7003 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1697, allocations: 11.92 kB / 0.7003 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1697, allocations: 0 / 0.7003 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.17, allocations: 213.4 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.17, allocations: 0 / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.17, allocations: 11.98 kB / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.17, allocations: 0 / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1701, allocations: 4 kB / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1701, allocations: 0 / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1701, allocations: 0 / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1704, allocations: 222.5 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.1704, allocations: 92.86 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1705, allocations: 4 kB / 0.7008 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1705, allocations: 7.938 kB / 0.7008 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1706, allocations: 11.98 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1706, allocations: 7.984 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.1707, allocations: 105.1 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 4 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003344/0.171, allocations: 95.98 kB / 0.701 GB, free: 12.2 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.0007669/0.1718, allocations: 0.8403 MB / 0.7018 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.1721, allocations: 221 kB / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1722, allocations: 0 / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.1723, allocations: 63.91 kB / 0.7021 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.1724, allocations: 11.94 kB / 0.7021 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1744, allocations: 1.808 MB / 0.7039 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1748, allocations: 0.7084 MB / 0.7046 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.1748, allocations: 12.88 kB / 0.7046 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1749, allocations: 35.42 kB / 0.7046 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1749, allocations: 3.938 kB / 0.7046 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9912/1.166, allocations: 4.597 MB / 0.7091 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.31, allocations: 6.25 kB / 0.7091 GB, free: 3.906 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)