Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001181/0.001181, allocations: 101.9 kB / 16.4 MB, free: 6.438 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.001251/0.001252, allocations: 195.4 kB / 17.34 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 70.67 kB / 0.5572 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1772, allocations: 76.18 MB / 0.6316 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00517/0.1825, allocations: 1.477 MB / 0.633 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1845, allocations: 0.6929 MB / 0.6337 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1847, allocations: 4 kB / 0.6337 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.1849, allocations: 11.86 kB / 0.6337 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1851, allocations: 15.86 kB / 0.6337 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.187, allocations: 329.4 kB / 0.634 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.1875, allocations: 171.7 kB / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.1876, allocations: 15.98 kB / 0.6342 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1878, allocations: 71.81 kB / 0.6343 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.188, allocations: 47.77 kB / 0.6343 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.188, allocations: 12 kB / 0.6343 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.1889, allocations: 255.7 kB / 0.6346 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1891, allocations: 43.89 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1892, allocations: 55.72 kB / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.19, allocations: 294.8 kB / 0.6349 GB, free: 1.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.19, allocations: 0 / 0.6349 GB, free: 1.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.19, allocations: 4 kB / 0.6349 GB, free: 1.344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1901, allocations: 0 / 0.6349 GB, free: 1.344 MB / 478.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.001079/0.1911, allocations: 491.1 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.1912, allocations: 8.031 kB / 0.6354 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.1913, allocations: 38.75 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.1915, allocations: 12.84 kB / 0.6355 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.1919, allocations: 213.4 kB / 0.6357 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.192, allocations: 8.359 kB / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.192, allocations: 16.38 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1924, allocations: 92.8 kB / 0.6358 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1924, allocations: 7.938 kB / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1924, allocations: 0 / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1925, allocations: 3.938 kB / 0.6358 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1927, allocations: 43.97 kB / 0.6358 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1932, allocations: 251.3 kB / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1936, allocations: 107.8 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1938, allocations: 70.7 kB / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1938, allocations: 0 / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.1943, allocations: 143.2 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/0.1943, allocations: 4 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.000842/0.1952, allocations: 213.5 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1953, allocations: 118.8 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1956, allocations: 143.6 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/0.1958, allocations: 41.7 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1959, allocations: 100.6 kB / 0.637 GB, free: 14.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.196, allocations: 51.36 kB / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.1962, allocations: 61.69 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1964, allocations: 326.8 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1966, allocations: 48.25 kB / 0.6374 GB, free: 14.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.1971, allocations: 181.1 kB / 0.6376 GB, free: 14.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.1974, allocations: 142.5 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1975, allocations: 0 / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005971/0.1981, allocations: 201.3 kB / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.1981, allocations: 8 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/0.1982, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.1982, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1984, allocations: 11.94 kB / 0.638 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.1984, allocations: 7.984 kB / 0.638 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.1989, allocations: 54.61 kB / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.199, allocations: 12 kB / 0.638 GB, free: 13.82 MB / 494.1 MB 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.0002682/0.1992, allocations: 140 kB / 0.6382 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.1993, allocations: 19.81 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.1994, allocations: 12.7 kB / 0.6382 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1995, allocations: 4 kB / 0.6382 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1995, allocations: 0 / 0.6382 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1995, allocations: 0 / 0.6382 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1998, allocations: 213.4 kB / 0.6384 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1999, allocations: 4 kB / 0.6384 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.2, allocations: 8 kB / 0.6384 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2, allocations: 0 / 0.6384 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2, allocations: 8 kB / 0.6384 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.2001, allocations: 7.984 kB / 0.6384 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2001, allocations: 0 / 0.6384 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.2006, allocations: 210.5 kB / 0.6386 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2007, allocations: 92.86 kB / 0.6387 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.2008, allocations: 11.92 kB / 0.6387 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2009, allocations: 7.938 kB / 0.6387 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.201, allocations: 15.98 kB / 0.6388 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2011, allocations: 4 kB / 0.6388 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2012, allocations: 105 kB / 0.6389 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2012, allocations: 0 / 0.6389 GB, free: 12.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000831/0.2021, allocations: 95.98 kB / 0.639 GB, free: 12.78 MB / 494.1 MB 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.001772/0.2039, allocations: 0.8463 MB / 0.6398 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.2045, allocations: 221.2 kB / 0.64 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2045, allocations: 3.938 kB / 0.64 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2047, allocations: 60.09 kB / 0.6401 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2051, allocations: 15.92 kB / 0.6401 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.2088, allocations: 1.814 MB / 0.6418 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2093, allocations: 0.7164 MB / 0.6425 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.657e-05/0.2094, allocations: 12.89 kB / 0.6426 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.2095, allocations: 31.42 kB / 0.6426 GB, free: 8.879 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2095, allocations: 0 / 0.6426 GB, free: 8.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.2458, allocations: 4.681 MB / 0.6472 GB, free: 4.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.989, allocations: 2.734 kB / 0.6472 GB, free: 4.363 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)