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.001208/0.001208, allocations: 102.6 kB / 15.98 MB, free: 6.77 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.001172/0.001172, allocations: 192.6 kB / 16.9 MB, free: 6.559 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.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6019/0.6019, allocations: 115.4 MB / 406.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.36 kB / 493.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1176, allocations: 76.19 MB / 0.556 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002283/0.1199, allocations: 1.531 MB / 0.5575 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.1209, allocations: 0.6852 MB / 0.5582 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.121, allocations: 4 kB / 0.5582 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.442e-05/0.121, allocations: 11.92 kB / 0.5582 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.1211, allocations: 15.84 kB / 0.5582 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.122, allocations: 306.6 kB / 0.5585 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1222, allocations: 167.6 kB / 0.5587 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1222, allocations: 11.98 kB / 0.5587 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.1223, allocations: 75.75 kB / 0.5588 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.1224, allocations: 59.75 kB / 0.5588 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1224, allocations: 12 kB / 0.5588 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.1227, allocations: 243.8 kB / 0.5591 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1228, allocations: 47.88 kB / 0.5591 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.1229, allocations: 55.73 kB / 0.5592 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.1233, allocations: 295.6 kB / 0.5595 GB, free: 7.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1233, allocations: 0 / 0.5595 GB, free: 7.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1233, allocations: 0 / 0.5595 GB, free: 7.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1233, allocations: 0 / 0.5595 GB, free: 7.105 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.0004996/0.1238, allocations: 486.9 kB / 0.5599 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1238, allocations: 8.031 kB / 0.5599 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.1239, allocations: 42.73 kB / 0.56 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1239, allocations: 12.84 kB / 0.56 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1241, allocations: 212 kB / 0.5602 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1241, allocations: 4.375 kB / 0.5602 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1241, allocations: 12.38 kB / 0.5602 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1243, allocations: 106.8 kB / 0.5603 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1243, allocations: 3.938 kB / 0.5603 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1243, allocations: 0 / 0.5603 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1243, allocations: 0 / 0.5603 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.1244, allocations: 47.97 kB / 0.5604 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1246, allocations: 247.3 kB / 0.5606 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1247, allocations: 111.9 kB / 0.5607 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.1248, allocations: 74.61 kB / 0.5608 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1248, allocations: 0 / 0.5608 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.125, allocations: 141.8 kB / 0.5609 GB, free: 5.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.1251, allocations: 3.984 kB / 0.5609 GB, free: 5.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003447/0.1254, allocations: 222 kB / 0.5611 GB, free: 5.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1255, allocations: 110.8 kB / 0.5612 GB, free: 5.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.1256, allocations: 149.7 kB / 0.5614 GB, free: 4.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1256, allocations: 37.7 kB / 0.5614 GB, free: 4.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.1257, allocations: 96.7 kB / 0.5615 GB, free: 4.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.1257, allocations: 55.34 kB / 0.5615 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.1258, allocations: 61.69 kB / 0.5616 GB, free: 4.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.1259, allocations: 326.8 kB / 0.5619 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.126, allocations: 48.27 kB / 0.562 GB, free: 4.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1262, allocations: 188.3 kB / 0.5621 GB, free: 4.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1263, allocations: 126.5 kB / 0.5623 GB, free: 3.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1263, allocations: 0 / 0.5623 GB, free: 3.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002569/0.1266, allocations: 200.7 kB / 0.5625 GB, free: 3.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1266, allocations: 6.344 kB / 0.5625 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.1266, allocations: 7.984 kB / 0.5625 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1266, allocations: 8 kB / 0.5625 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.1267, allocations: 15.94 kB / 0.5625 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1267, allocations: 4 kB / 0.5625 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1269, allocations: 45.2 kB / 0.5625 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.127, allocations: 8 kB / 0.5625 GB, free: 3.602 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 0.0001062/0.1271, allocations: 144 kB / 0.5627 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1271, allocations: 15.81 kB / 0.5627 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1271, allocations: 12.72 kB / 0.5627 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1271, allocations: 4 kB / 0.5627 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1271, allocations: 3.984 kB / 0.5627 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1272, allocations: 0 / 0.5627 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1273, allocations: 209.4 kB / 0.5629 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1273, allocations: 8 kB / 0.5629 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.1273, allocations: 11.98 kB / 0.5629 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1274, allocations: 3.938 kB / 0.5629 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1274, allocations: 8 kB / 0.5629 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1274, allocations: 0 / 0.5629 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1274, allocations: 3.938 kB / 0.563 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1276, allocations: 210.6 kB / 0.5632 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1277, allocations: 92.86 kB / 0.5632 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1277, allocations: 8 kB / 0.5632 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.1278, allocations: 3.938 kB / 0.5633 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1278, allocations: 15.98 kB / 0.5633 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1278, allocations: 8 kB / 0.5633 GB, free: 2.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.1279, allocations: 107.2 kB / 0.5634 GB, free: 2.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1279, allocations: 0 / 0.5634 GB, free: 2.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1282, allocations: 95.98 kB / 0.5635 GB, free: 2.555 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.0006151/0.1288, allocations: 0.8495 MB / 0.5643 GB, free: 1.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1291, allocations: 225.1 kB / 0.5645 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1291, allocations: 0 / 0.5645 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.93e-05/0.1292, allocations: 55.91 kB / 0.5646 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.1293, allocations: 11.94 kB / 0.5646 GB, free: 1.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1309, allocations: 1.838 MB / 0.5664 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1311, allocations: 0.7161 MB / 0.5671 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.1312, allocations: 8.875 kB / 0.5671 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.1312, allocations: 35.42 kB / 0.5671 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1312, allocations: 0 / 0.5671 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.413/2.545, allocations: 4.443 MB / 0.5715 GB, free: 10.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/2.545, allocations: 221.7 kB / 0.5717 GB, free: 10.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/5.213, allocations: 0 / 0.5717 GB, free: 10.14 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)