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.0009673/0.0009674, allocations: 104.2 kB / 16.4 MB, free: 6.477 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.0009374/0.0009375, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.182/1.182, 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.6433/0.6433, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 60.14 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.118, allocations: 76.19 MB / 0.6316 GB, free: 4.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002447/0.1205, allocations: 1.466 MB / 0.633 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1216, allocations: 0.6928 MB / 0.6337 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.1217, allocations: 0 / 0.6337 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.1218, allocations: 15.86 kB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.1219, allocations: 7.875 kB / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.1228, allocations: 357 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.123, allocations: 167.7 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1231, allocations: 15.94 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.1232, allocations: 63.89 kB / 0.6343 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.1233, allocations: 51.75 kB / 0.6343 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1233, allocations: 12 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.1236, allocations: 255.8 kB / 0.6346 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.1237, allocations: 31.91 kB / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1238, allocations: 67.7 kB / 0.6347 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.1242, allocations: 298.8 kB / 0.635 GB, free: 1.484 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1242, allocations: 3.938 kB / 0.635 GB, free: 1.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1242, allocations: 0 / 0.635 GB, free: 1.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1242, allocations: 0 / 0.635 GB, free: 1.48 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.0005726/0.1248, allocations: 479.2 kB / 0.6354 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1248, allocations: 12.03 kB / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1249, allocations: 42.73 kB / 0.6355 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1249, allocations: 12.84 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1251, allocations: 208.1 kB / 0.6357 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1251, allocations: 12.38 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1252, allocations: 8.375 kB / 0.6357 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1253, allocations: 98.77 kB / 0.6358 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1253, allocations: 3.938 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1254, allocations: 15.94 kB / 0.6358 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1254, allocations: 0 / 0.6358 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.1255, allocations: 43.91 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.1257, allocations: 247.3 kB / 0.6361 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1258, allocations: 115.8 kB / 0.6362 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.126, allocations: 74.7 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.126, allocations: 0 / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.1262, allocations: 142.5 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.1262, allocations: 4 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003603/0.1266, allocations: 209.5 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1266, allocations: 118.8 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1267, allocations: 137.7 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.1268, allocations: 41.69 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1268, allocations: 96.7 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.1269, allocations: 51.3 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.127, allocations: 61.69 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.1271, allocations: 330.8 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.1272, allocations: 52.27 kB / 0.6375 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1274, allocations: 184.4 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1275, allocations: 134.5 kB / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1276, allocations: 0 / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002711/0.1278, allocations: 201.3 kB / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1279, allocations: 4 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.1279, allocations: 4 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1279, allocations: 4 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.128, allocations: 11.98 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.128, allocations: 12.81 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1282, allocations: 47.8 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1282, allocations: 12 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.0001014/0.1283, allocations: 136 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1284, allocations: 11.81 kB / 0.6382 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1284, allocations: 16.72 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1284, allocations: 4 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1284, allocations: 0 / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1284, allocations: 4 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1286, allocations: 213.4 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1286, allocations: 0 / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.1286, allocations: 15.94 kB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1286, allocations: 4.125 kB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1287, allocations: 4 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.1287, allocations: 4 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1287, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1289, allocations: 224.2 kB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.129, allocations: 100.8 kB / 0.6388 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.129, allocations: 0 / 0.6388 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.1291, allocations: 7.938 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1291, allocations: 11.98 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1291, allocations: 4 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.516e-05/0.1292, allocations: 108.8 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1292, allocations: 4 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1295, 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.0006486/0.1302, allocations: 0.8442 MB / 0.6398 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.1305, allocations: 213 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1305, allocations: 4 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1306, allocations: 59.89 kB / 0.6401 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1307, allocations: 15.72 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.001688/0.1324, allocations: 1.818 MB / 0.6419 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1327, allocations: 0.7047 MB / 0.6425 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.1327, allocations: 12.88 kB / 0.6426 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.1328, allocations: 31.44 kB / 0.6426 GB, free: 9.027 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1328, allocations: 0 / 0.6426 GB, free: 9.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1524, allocations: 4.679 MB / 0.6472 GB, free: 4.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.093, allocations: 12.16 kB / 0.6472 GB, free: 4.508 MB / 494.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)