Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.019/2.019, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009583/0.0009583, allocations: 71.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7516, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002635/0.7542, allocations: 1.485 MB / 1.354 GB, free: 228 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.7552, allocations: 0.6228 MB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.7552, allocations: 4 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 7.578e-05/0.7553, allocations: 11.86 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.7553, allocations: 11.88 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.7562, allocations: 362.4 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.7564, allocations: 171.6 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.7564, allocations: 8 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.7565, allocations: 71.83 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.7566, allocations: 51.75 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.7566, allocations: 12 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.757, allocations: 275.7 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.7571, allocations: 35.89 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.7571, allocations: 51.78 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.7575, allocations: 309.2 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7575, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7575, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7575, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB 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.0005127/0.758, allocations: 409.3 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7581, allocations: 8.922 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.7581, allocations: 38.75 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.7582, allocations: 8.891 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.7583, allocations: 162.3 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.7583, allocations: 12.31 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.7584, allocations: 16.38 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.7585, allocations: 100.7 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7585, allocations: 3.938 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7586, allocations: 4 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7586, allocations: 0 / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.7586, allocations: 51.89 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.7588, allocations: 194.5 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.759, allocations: 99.83 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.759, allocations: 62.7 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.7591, allocations: 8 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.7593, allocations: 137.8 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.7593, allocations: 0 / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.0003503/0.7596, allocations: 217.4 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.7597, allocations: 118.7 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7598, allocations: 140 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.7598, allocations: 33.7 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.7599, allocations: 100.6 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.7599, allocations: 63.52 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.76, allocations: 57.69 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.7601, allocations: 330.8 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.7602, allocations: 56.25 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.7604, allocations: 459.2 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.7606, allocations: 130.5 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7606, allocations: 0 / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002482/0.7608, allocations: 205.3 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7609, allocations: 4 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7609, allocations: 4 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7609, allocations: 0 / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.761, allocations: 23.92 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.761, allocations: 0 / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.7611, allocations: 53.95 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7611, allocations: 4 kB / 1.359 GB, free: 10.63 MB / 1.042 GB 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.0001045/0.7612, allocations: 148.3 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.7613, allocations: 12.05 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.7613, allocations: 20.64 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7613, allocations: 4 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7613, allocations: 3.938 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7613, allocations: 0 / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.7614, allocations: 180.5 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7614, allocations: 0 / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.7615, allocations: 12 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7615, allocations: 0 / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7615, allocations: 7.984 kB / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7615, allocations: 0 / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7615, allocations: 0 / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.7617, allocations: 210.6 kB / 1.36 GB, free: 9.961 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.7617, allocations: 19.91 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.7618, allocations: 3.984 kB / 1.36 GB, free: 9.938 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.7618, allocations: 11.94 kB / 1.36 GB, free: 9.926 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.7619, allocations: 11.98 kB / 1.36 GB, free: 9.914 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.7619, allocations: 7.938 kB / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.7619, allocations: 109.8 kB / 1.36 GB, free: 9.801 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.7619, allocations: 0 / 1.36 GB, free: 9.801 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005286/0.7625, allocations: 107.7 kB / 1.36 GB, free: 9.695 MB / 1.042 GB 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.0006343/0.7631, allocations: 0.8435 MB / 1.361 GB, free: 8.82 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.7634, allocations: 213.2 kB / 1.361 GB, free: 8.594 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7634, allocations: 0 / 1.361 GB, free: 8.594 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.7635, allocations: 51.92 kB / 1.361 GB, free: 8.543 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.7636, allocations: 11.94 kB / 1.361 GB, free: 8.531 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7653, allocations: 1.822 MB / 1.363 GB, free: 6.605 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.7653, allocations: 96.62 kB / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.7654, allocations: 12.97 kB / 1.363 GB, free: 6.477 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.7654, allocations: 31.42 kB / 1.363 GB, free: 6.445 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.7654, allocations: 4 kB / 1.363 GB, free: 6.441 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/0.8825, allocations: 5.301 MB / 1.368 GB, free: 1.324 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/8.078, allocations: 13.33 kB / 1.368 GB, free: 1.316 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu) > Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 ../Buildings_13_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu) > Buildings_13_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.084108604118228]