Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.0009967/0.0009967, allocations: 93.58 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.001051/0.001051, allocations: 175.2 kB / 16.92 MB, free: 6.688 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.139/1.139, allocations: 223.3 MB / 241 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5976/0.5976, allocations: 115.5 MB / 407.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1058, allocations: 77.54 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001203/0.107, allocations: 1.188 MB / 0.5612 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.108, allocations: 0.7108 MB / 0.5619 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.108, allocations: 0 / 0.5619 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.1081, allocations: 11.92 kB / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.1081, allocations: 15.86 kB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.1088, allocations: 293.9 kB / 0.5622 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.109, allocations: 159.6 kB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1091, allocations: 4 kB / 0.5624 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.1091, allocations: 67.77 kB / 0.5624 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1092, allocations: 55.77 kB / 0.5625 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1092, allocations: 4 kB / 0.5625 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.1095, allocations: 239.8 kB / 0.5627 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1096, allocations: 35.89 kB / 0.5627 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.1096, allocations: 85.41 kB / 0.5628 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.11, allocations: 287.6 kB / 0.5631 GB, free: 5.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.11, allocations: 4 kB / 0.5631 GB, free: 5.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.11, allocations: 0 / 0.5631 GB, free: 5.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.11, allocations: 0 / 0.5631 GB, free: 5.852 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.0004504/0.1104, allocations: 447.1 kB / 0.5635 GB, free: 5.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1105, allocations: 12.03 kB / 0.5635 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.1105, allocations: 34.75 kB / 0.5636 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1106, allocations: 20.73 kB / 0.5636 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1107, allocations: 216 kB / 0.5638 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1108, allocations: 8.375 kB / 0.5638 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1108, allocations: 8.375 kB / 0.5638 GB, free: 5.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1109, allocations: 106.8 kB / 0.5639 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1109, allocations: 3.938 kB / 0.5639 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.111, allocations: 4 kB / 0.5639 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.111, allocations: 4 kB / 0.5639 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.1111, allocations: 43.97 kB / 0.564 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1113, allocations: 251.3 kB / 0.5642 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1114, allocations: 107.8 kB / 0.5643 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.1115, allocations: 78.62 kB / 0.5644 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1115, allocations: 4 kB / 0.5644 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1117, allocations: 133.9 kB / 0.5645 GB, free: 4.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.1117, allocations: 0 / 0.5645 GB, free: 4.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003347/0.112, allocations: 222 kB / 0.5647 GB, free: 3.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1121, allocations: 118.8 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.1122, allocations: 133.8 kB / 0.565 GB, free: 3.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1122, allocations: 41.7 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1123, allocations: 96.69 kB / 0.5651 GB, free: 3.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1123, allocations: 51.34 kB / 0.5651 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1124, allocations: 37.7 kB / 0.5652 GB, free: 3.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.1125, allocations: 322.8 kB / 0.5655 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.1125, allocations: 52.25 kB / 0.5655 GB, free: 3.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1127, allocations: 185.2 kB / 0.5657 GB, free: 2.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1129, allocations: 129.9 kB / 0.5658 GB, free: 2.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1129, allocations: 0 / 0.5658 GB, free: 2.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002498/0.1131, allocations: 207.1 kB / 0.566 GB, free: 2.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1132, allocations: 4 kB / 0.566 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.1132, allocations: 8.234 kB / 0.566 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1132, allocations: 4 kB / 0.5661 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.1133, allocations: 15.92 kB / 0.5661 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1133, allocations: 7.984 kB / 0.5661 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1135, allocations: 55.7 kB / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1135, allocations: 8 kB / 0.5661 GB, free: 2.391 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.806e-05/0.1136, allocations: 148 kB / 0.5663 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1136, allocations: 7.906 kB / 0.5663 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.1137, allocations: 16.72 kB / 0.5663 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1137, allocations: 4 kB / 0.5663 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1137, allocations: 0 / 0.5663 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1137, allocations: 0 / 0.5663 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1138, allocations: 213.4 kB / 0.5665 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1138, allocations: 4 kB / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.1139, allocations: 8 kB / 0.5665 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1139, allocations: 4 kB / 0.5665 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1139, allocations: 7.984 kB / 0.5665 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1139, allocations: 0 / 0.5665 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1139, allocations: 3.938 kB / 0.5665 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1142, allocations: 206.7 kB / 0.5667 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1142, allocations: 104.8 kB / 0.5668 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1142, allocations: 4 kB / 0.5668 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.1143, allocations: 11.94 kB / 0.5668 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1143, allocations: 11.98 kB / 0.5669 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1143, allocations: 4 kB / 0.5669 GB, free: 1.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.1144, allocations: 109.4 kB / 0.567 GB, free: 1.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 0 / 0.567 GB, free: 1.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1147, allocations: 95.98 kB / 0.5671 GB, free: 1.348 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.0005664/0.1153, allocations: 0.848 MB / 0.5679 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1155, allocations: 218.4 kB / 0.5681 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1155, allocations: 0 / 0.5681 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1156, allocations: 55.91 kB / 0.5681 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1158, allocations: 18.12 kB / 0.5682 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1173, allocations: 1.82 MB / 0.5699 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.1175, allocations: 0.7161 MB / 0.5706 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.1175, allocations: 8.891 kB / 0.5707 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1176, allocations: 31.42 kB / 0.5707 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1176, allocations: 4 kB / 0.5707 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.46/2.577, allocations: 4.254 MB / 0.5748 GB, free: 9.406 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/2.578, allocations: 227.3 kB / 0.5751 GB, free: 9.152 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/4.868, allocations: 3.938 kB / 0.5751 GB, free: 9.148 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)