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.0006898/0.0006898, allocations: 92.95 kB / 16.02 MB, free: 84 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.0007072/0.0007072, allocations: 181.9 kB / 16.92 MB, free: 6.914 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.189/1.189, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6067/0.6067, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 8 kB / 495.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.111, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001169/0.1122, allocations: 1.188 MB / 0.5612 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.1132, allocations: 0.7127 MB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1132, allocations: 0 / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.1133, allocations: 11.92 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.1133, allocations: 11.92 kB / 0.5619 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.114, allocations: 283.2 kB / 0.5622 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1142, allocations: 163.6 kB / 0.5623 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1142, allocations: 11.98 kB / 0.5624 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.1143, allocations: 59.83 kB / 0.5624 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.1143, allocations: 59.75 kB / 0.5625 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1144, allocations: 4 kB / 0.5625 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.1146, allocations: 243.8 kB / 0.5627 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1147, allocations: 35.84 kB / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.1148, allocations: 81.41 kB / 0.5628 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.1151, allocations: 287.6 kB / 0.5631 GB, free: 5.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1151, allocations: 0 / 0.5631 GB, free: 5.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1151, allocations: 0 / 0.5631 GB, free: 5.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1151, allocations: 4 kB / 0.5631 GB, free: 5.801 MB / 430.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.000442/0.1155, allocations: 451.1 kB / 0.5635 GB, free: 5.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1156, allocations: 15.97 kB / 0.5635 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.1156, allocations: 38.73 kB / 0.5636 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1157, allocations: 16.75 kB / 0.5636 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1158, allocations: 209.8 kB / 0.5638 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1158, allocations: 8.312 kB / 0.5638 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1159, allocations: 12.38 kB / 0.5638 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.116, allocations: 100.8 kB / 0.5639 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.116, allocations: 3.938 kB / 0.5639 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.116, allocations: 0 / 0.5639 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1161, allocations: 0 / 0.5639 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.1161, allocations: 51.91 kB / 0.564 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.1163, allocations: 251.3 kB / 0.5642 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1165, allocations: 107.9 kB / 0.5643 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.1166, allocations: 74.67 kB / 0.5644 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1166, allocations: 0 / 0.5644 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1168, allocations: 145.8 kB / 0.5645 GB, free: 4.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.1168, allocations: 0 / 0.5645 GB, free: 4.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003587/0.1171, allocations: 217.3 kB / 0.5647 GB, free: 3.902 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1172, allocations: 114.7 kB / 0.5648 GB, free: 3.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.1173, allocations: 147.7 kB / 0.565 GB, free: 3.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1173, allocations: 37.7 kB / 0.565 GB, free: 3.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1174, allocations: 92.7 kB / 0.5651 GB, free: 3.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1174, allocations: 55.34 kB / 0.5651 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1175, allocations: 29.7 kB / 0.5652 GB, free: 3.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.1176, allocations: 326.8 kB / 0.5655 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.1177, allocations: 52.27 kB / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1178, allocations: 176.5 kB / 0.5657 GB, free: 2.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.118, allocations: 139.5 kB / 0.5658 GB, free: 2.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.118, allocations: 0 / 0.5658 GB, free: 2.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000245/0.1183, allocations: 197.3 kB / 0.566 GB, free: 2.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.1183, allocations: 4 kB / 0.566 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.1183, allocations: 8.125 kB / 0.566 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1183, allocations: 8 kB / 0.566 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.1184, allocations: 19.92 kB / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1184, allocations: 4.938 kB / 0.5661 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1186, allocations: 55.7 kB / 0.5661 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1186, allocations: 8 kB / 0.5661 GB, free: 2.344 MB / 430.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 9.956e-05/0.1187, allocations: 144 kB / 0.5663 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.1188, allocations: 7.906 kB / 0.5663 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.1188, allocations: 16.7 kB / 0.5663 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1188, allocations: 11.88 kB / 0.5663 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1188, allocations: 0 / 0.5663 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1188, allocations: 0 / 0.5663 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1189, allocations: 209.4 kB / 0.5665 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.119, allocations: 3.984 kB / 0.5665 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.119, allocations: 12 kB / 0.5665 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.119, allocations: 4 kB / 0.5665 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.119, allocations: 8 kB / 0.5665 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.119, allocations: 0 / 0.5665 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.119, allocations: 0 / 0.5665 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1193, allocations: 214.5 kB / 0.5667 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.1193, allocations: 92.86 kB / 0.5668 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1193, allocations: 0 / 0.5668 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.1194, allocations: 23.92 kB / 0.5668 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1194, allocations: 4 kB / 0.5668 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1194, allocations: 7.984 kB / 0.5669 GB, free: 1.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.1195, allocations: 105.9 kB / 0.567 GB, free: 1.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 0 / 0.567 GB, free: 1.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1198, allocations: 95.98 kB / 0.567 GB, free: 1.305 MB / 430.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.0005774/0.1204, allocations: 0.8554 MB / 0.5679 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1206, allocations: 218.9 kB / 0.5681 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1206, allocations: 0 / 0.5681 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.1207, allocations: 56.11 kB / 0.5681 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1209, allocations: 15.94 kB / 0.5682 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1224, allocations: 1.83 MB / 0.5699 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.1226, allocations: 0.7084 MB / 0.5706 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1227, allocations: 12.88 kB / 0.5707 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1227, allocations: 35.42 kB / 0.5707 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1227, allocations: 0 / 0.5707 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3848/0.5076, allocations: 4.254 MB / 0.5748 GB, free: 9.355 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/0.5079, allocations: 221.4 kB / 0.5751 GB, free: 9.102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.158, allocations: 0 / 0.5751 GB, free: 9.102 MB / 446.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)