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.001291/0.001291, allocations: 108 kB / 16.4 MB, free: 6.461 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.001404/0.001404, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.658/0.658, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 64.91 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002264/0.1153, allocations: 1.48 MB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1163, allocations: 0.6852 MB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.1164, allocations: 0 / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.698e-05/0.1165, allocations: 7.922 kB / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.1165, allocations: 11.88 kB / 0.6337 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.1174, allocations: 348.9 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1177, allocations: 171.7 kB / 0.6342 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1177, allocations: 12 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.1178, allocations: 71.77 kB / 0.6343 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.1179, allocations: 51.77 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1179, allocations: 12 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1183, allocations: 255.7 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.1183, allocations: 39.89 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.1184, allocations: 67.7 kB / 0.6347 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.1188, allocations: 294.8 kB / 0.635 GB, free: 1.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1188, allocations: 4 kB / 0.635 GB, free: 1.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1188, allocations: 0 / 0.635 GB, free: 1.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1189, allocations: 0 / 0.635 GB, free: 1.465 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.0006105/0.1195, allocations: 475.2 kB / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1195, allocations: 12.03 kB / 0.6354 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.1196, allocations: 34.75 kB / 0.6355 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.1196, allocations: 12.84 kB / 0.6355 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1198, allocations: 216 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1199, allocations: 16.36 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.1199, allocations: 8.375 kB / 0.6357 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1201, allocations: 98.2 kB / 0.6358 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1201, allocations: 3.938 kB / 0.6358 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1201, allocations: 0 / 0.6358 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1201, allocations: 3.938 kB / 0.6358 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.1202, allocations: 47.97 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1205, allocations: 247.3 kB / 0.6361 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1206, allocations: 111.9 kB / 0.6362 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1207, allocations: 70.66 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1207, allocations: 8 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.1209, allocations: 138.9 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 3.266e-06/0.1209, allocations: 0 / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003707/0.1213, allocations: 217.3 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.1214, allocations: 118.8 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1215, allocations: 143.6 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.1216, allocations: 37.7 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1216, allocations: 96.69 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.1217, allocations: 51.34 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.1218, allocations: 65.69 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1219, allocations: 322.8 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.122, allocations: 52.25 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1222, allocations: 185.1 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1224, allocations: 134.5 kB / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1224, allocations: 3.938 kB / 0.6378 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000274/0.1227, allocations: 209.4 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1227, allocations: 8 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.1227, allocations: 4 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1227, allocations: 3.984 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.1228, allocations: 15.94 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1228, allocations: 3.984 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.123, allocations: 47.8 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1231, allocations: 4 kB / 0.638 GB, free: 13.96 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.0001102/0.1232, allocations: 151.9 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1232, allocations: 11.81 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1232, allocations: 20.7 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1232, allocations: 0 / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1232, allocations: 0 / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1233, allocations: 4 kB / 0.6382 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1234, allocations: 213.4 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1234, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.1235, allocations: 8 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1235, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1235, allocations: 8 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1235, allocations: 0 / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1235, allocations: 7.984 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1237, allocations: 204.1 kB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1238, allocations: 92.86 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1238, allocations: 8 kB / 0.6387 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.1239, allocations: 15.92 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1239, allocations: 15.92 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.124, allocations: 4 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.124, allocations: 105 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.124, allocations: 0 / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1244, allocations: 99.98 kB / 0.639 GB, free: 12.91 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.0006932/0.1251, allocations: 0.8423 MB / 0.6398 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1254, allocations: 220.9 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1254, allocations: 0 / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.1255, allocations: 52.11 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.1256, allocations: 15.92 kB / 0.6401 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1273, allocations: 1.829 MB / 0.6418 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1275, allocations: 0.7164 MB / 0.6425 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.1276, allocations: 8.891 kB / 0.6426 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.1277, allocations: 35.42 kB / 0.6426 GB, free: 9.004 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1277, allocations: 0 / 0.6426 GB, free: 9.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1474, allocations: 4.679 MB / 0.6472 GB, free: 4.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.988, allocations: 11.27 kB / 0.6472 GB, free: 4.48 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)