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.0008939/0.0008938, allocations: 96.97 kB / 15.69 MB, free: 480 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.0009248/0.0009249, allocations: 176.4 kB / 16.57 MB, free: 6.395 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.224/1.224, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6639/0.6639, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002582, allocations: 8.969 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.117, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00121/0.1183, allocations: 1.153 MB / 0.5579 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.1191, allocations: 0.6117 MB / 0.5584 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.1191, allocations: 0 / 0.5584 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.1192, allocations: 7.922 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.1192, allocations: 11.92 kB / 0.5585 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.1199, allocations: 283.1 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.12, allocations: 87.89 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1201, allocations: 11.98 kB / 0.5588 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.1202, allocations: 67.81 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.1202, allocations: 51.75 kB / 0.5589 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1203, allocations: 8 kB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1205, allocations: 211.7 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.1206, allocations: 31.91 kB / 0.5592 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1206, allocations: 37.7 kB / 0.5592 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1209, allocations: 207.9 kB / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1209, allocations: 0 / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1209, allocations: 3.938 kB / 0.5594 GB, free: 8.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.1209, allocations: 0 / 0.5594 GB, free: 8.91 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.0004526/0.1213, allocations: 454.8 kB / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.1214, allocations: 8.031 kB / 0.5599 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.1214, allocations: 42.55 kB / 0.5599 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1215, allocations: 7.906 kB / 0.5599 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1216, allocations: 206.9 kB / 0.5601 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1217, allocations: 12 kB / 0.5601 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1217, allocations: 8 kB / 0.5601 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1219, allocations: 104.1 kB / 0.5602 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1219, allocations: 0 / 0.5602 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1219, allocations: 4 kB / 0.5602 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1219, allocations: 4 kB / 0.5602 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.122, allocations: 47.91 kB / 0.5603 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.1222, allocations: 251.2 kB / 0.5605 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1223, allocations: 115.9 kB / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.1223, allocations: 0 / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1225, allocations: 138.5 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.1226, allocations: 4 kB / 0.5608 GB, free: 7.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004291/0.123, allocations: 456.6 kB / 0.5612 GB, free: 6.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1231, allocations: 110.8 kB / 0.5613 GB, free: 6.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.1232, allocations: 140.5 kB / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1232, allocations: 41.7 kB / 0.5615 GB, free: 6.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1233, allocations: 96.69 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1233, allocations: 55.25 kB / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.1233, allocations: 4 kB / 0.5616 GB, free: 6.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1234, allocations: 330.8 kB / 0.5619 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.1235, allocations: 52.25 kB / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1237, allocations: 172.5 kB / 0.5622 GB, free: 5.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.1238, allocations: 70.66 kB / 0.5622 GB, free: 5.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1238, allocations: 0 / 0.5622 GB, free: 5.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002535/0.1241, allocations: 202.6 kB / 0.5624 GB, free: 5.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1241, allocations: 4 kB / 0.5624 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.1241, allocations: 4 kB / 0.5624 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1241, allocations: 7.953 kB / 0.5624 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.1242, allocations: 11.98 kB / 0.5624 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1242, allocations: 4 kB / 0.5625 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1244, allocations: 57.48 kB / 0.5625 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1244, allocations: 8 kB / 0.5625 GB, free: 5.363 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1245, allocations: 144.1 kB / 0.5627 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.1246, allocations: 7.906 kB / 0.5627 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.1246, allocations: 20.72 kB / 0.5627 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1246, allocations: 7.953 kB / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1246, allocations: 0 / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1246, allocations: 0 / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1248, allocations: 209.4 kB / 0.5629 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1248, allocations: 0 / 0.5629 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1248, allocations: 15.94 kB / 0.5629 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1248, allocations: 0 / 0.5629 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1249, allocations: 7.984 kB / 0.5629 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1249, allocations: 0 / 0.5629 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1249, allocations: 3.953 kB / 0.5629 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1251, allocations: 235.2 kB / 0.5631 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.1252, allocations: 96.94 kB / 0.5632 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1252, allocations: 3.953 kB / 0.5632 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.1252, allocations: 12 kB / 0.5632 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1253, allocations: 15.86 kB / 0.5633 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1253, allocations: 8 kB / 0.5633 GB, free: 4.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.1254, allocations: 103.2 kB / 0.5634 GB, free: 4.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1254, allocations: 0 / 0.5634 GB, free: 4.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1257, allocations: 104 kB / 0.5635 GB, free: 4.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006497/0.1263, allocations: 1.003 MB / 0.5644 GB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1266, allocations: 217.3 kB / 0.5647 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1266, allocations: 0 / 0.5647 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.1267, allocations: 59.91 kB / 0.5647 GB, free: 2.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.833e-05/0.1268, allocations: 12 kB / 0.5647 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1279, allocations: 1.147 MB / 0.5658 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1281, allocations: 0.7165 MB / 0.5665 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.618e-05/0.1282, allocations: 17.14 kB / 0.5666 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.1282, allocations: 35.42 kB / 0.5666 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1282, allocations: 0 / 0.5666 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3837/0.5119, allocations: 4.248 MB / 0.5707 GB, free: 12.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02184/0.5338, allocations: 203.7 kB / 0.5709 GB, free: 12.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.287, allocations: 2.25 kB / 0.5709 GB, free: 12.65 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/linux/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) Environment - environmentSimulation: