Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_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.000942/0.0009419, allocations: 100.5 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.0009156/0.0009158, 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 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.927/1.927, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005728/0.0005729, allocations: 17.5 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00152/0.2228, allocations: 1.183 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.2238, allocations: 0.6168 MB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.2239, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.077e-05/0.224, allocations: 7.922 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.224, allocations: 15.97 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.2248, allocations: 267.1 kB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.225, allocations: 103.8 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.225, allocations: 7.984 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.2251, allocations: 67.83 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.2252, allocations: 43.83 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.2252, allocations: 8 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.2255, allocations: 199.8 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.2255, allocations: 35.89 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.2256, allocations: 49.61 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2258, allocations: 211.8 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2258, allocations: 4 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2259, allocations: 0 / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2259, allocations: 3.938 kB / 0.79 GB, free: 9.086 MB / 0.6075 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.0005601/0.2264, allocations: 446.9 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2265, allocations: 8.031 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.2265, allocations: 38.55 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.2266, allocations: 19.81 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.2268, allocations: 214.7 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2268, allocations: 4 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2269, allocations: 16 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.227, allocations: 98.83 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2271, allocations: 0 / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2271, allocations: 0 / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2271, allocations: 7.984 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.2272, allocations: 43.98 kB / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.2274, allocations: 255.3 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2276, allocations: 103.9 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.2276, allocations: 7.938 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.2278, allocations: 136.9 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.2278, allocations: 0 / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.000464/0.2283, allocations: 460.6 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.2284, allocations: 114.8 kB / 0.7918 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2285, allocations: 145.9 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.2286, allocations: 37.7 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.2286, allocations: 96.69 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.2287, allocations: 51.36 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.2287, allocations: 4 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.2288, allocations: 322.8 kB / 0.7925 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.2289, allocations: 52.25 kB / 0.7925 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2291, allocations: 184.4 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2292, allocations: 72 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2292, allocations: 4 kB / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002666/0.2295, allocations: 193.3 kB / 0.7929 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2295, allocations: 4 kB / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.2295, allocations: 4 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2295, allocations: 4 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.2296, allocations: 15.92 kB / 0.793 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2297, allocations: 7.938 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.2299, allocations: 55.8 kB / 0.793 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.2299, allocations: 8 kB / 0.793 GB, free: 5.535 MB / 0.6075 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.000114/0.23, allocations: 148.1 kB / 0.7932 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.2301, allocations: 15.81 kB / 0.7932 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2301, allocations: 16.66 kB / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2301, allocations: 0 / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2301, allocations: 4 kB / 0.7932 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2301, allocations: 4 kB / 0.7932 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2303, allocations: 205.5 kB / 0.7934 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2303, allocations: 3.953 kB / 0.7934 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.2303, allocations: 11.98 kB / 0.7934 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2303, allocations: 4 kB / 0.7934 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2304, allocations: 4 kB / 0.7934 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2304, allocations: 4 kB / 0.7934 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2304, allocations: 3.938 kB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.2306, allocations: 232.4 kB / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2307, allocations: 92.94 kB / 0.7938 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2307, allocations: 8 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.2308, allocations: 4 kB / 0.7938 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.2308, allocations: 11.98 kB / 0.7938 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2308, allocations: 8 kB / 0.7938 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.2309, allocations: 114.3 kB / 0.7939 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2309, allocations: 0 / 0.7939 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003575/0.2313, allocations: 104 kB / 0.794 GB, free: 4.445 MB / 0.6075 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.0007567/0.232, allocations: 1.001 MB / 0.795 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.2323, allocations: 221.2 kB / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2324, allocations: 0 / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.2324, allocations: 51.98 kB / 0.7952 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.2326, allocations: 12.11 kB / 0.7952 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2338, allocations: 1.159 MB / 0.7964 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2341, allocations: 0.7087 MB / 0.7971 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.2341, allocations: 8.891 kB / 0.7971 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.2342, allocations: 35.42 kB / 0.7971 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2342, allocations: 0 / 0.7971 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.2481, allocations: 4.254 MB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.2483, allocations: 210.7 kB / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.049, allocations: 4 kB / 0.8015 GB, free: 12.81 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: