Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 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.001689/0.001689, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.89 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.501, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002368/0.5034, allocations: 1.475 MB / 0.9512 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.5044, allocations: 0.6866 MB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.5044, allocations: 0 / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.252e-05/0.5045, allocations: 8.938 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.5046, allocations: 18.56 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.5055, allocations: 339.7 kB / 0.9522 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.5057, allocations: 174.8 kB / 0.9523 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.5058, allocations: 13.5 kB / 0.9524 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.5058, allocations: 66.17 kB / 0.9524 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.5059, allocations: 53.41 kB / 0.9525 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.506, allocations: 11.44 kB / 0.9525 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.5063, allocations: 254.2 kB / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.5063, allocations: 34.03 kB / 0.9528 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.5064, allocations: 73.38 kB / 0.9528 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.5068, allocations: 301.4 kB / 0.9531 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5068, allocations: 4 kB / 0.9531 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5068, allocations: 0 / 0.9531 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.5068, allocations: 0 / 0.9531 GB, free: 6.742 MB / 0.7169 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.0005009/0.5073, allocations: 472.6 kB / 0.9536 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5074, allocations: 9.844 kB / 0.9536 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.5074, allocations: 37.2 kB / 0.9536 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.5074, allocations: 19.72 kB / 0.9536 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.5076, allocations: 205.4 kB / 0.9538 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5076, allocations: 5.531 kB / 0.9538 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.5076, allocations: 20.62 kB / 0.9538 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5078, allocations: 94.39 kB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5078, allocations: 5.312 kB / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.5078, allocations: 0 / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5078, allocations: 1.406 kB / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.5079, allocations: 46.03 kB / 0.954 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.5081, allocations: 256.2 kB / 0.9542 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5082, allocations: 105.2 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.5083, allocations: 71.02 kB / 0.9544 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.5083, allocations: 1.094 kB / 0.9544 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.5085, allocations: 144.6 kB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.5085, allocations: 0 / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003548/0.5089, allocations: 213.6 kB / 0.9547 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.509, allocations: 126 kB / 0.9549 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.5091, allocations: 139.1 kB / 0.955 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.5091, allocations: 38.86 kB / 0.955 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.5091, allocations: 97.44 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.5092, allocations: 56.08 kB / 0.9552 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.5092, allocations: 60.44 kB / 0.9552 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.5093, allocations: 326.7 kB / 0.9555 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.5094, allocations: 50.19 kB / 0.9556 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5095, allocations: 185.4 kB / 0.9558 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5097, allocations: 139.8 kB / 0.9559 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5097, allocations: 1.406 kB / 0.9559 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002524/0.51, allocations: 200.8 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.51, allocations: 9.5 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.51, allocations: 4.125 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.51, allocations: 2.75 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.5101, allocations: 21.55 kB / 0.9561 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5101, allocations: 1.375 kB / 0.9561 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5104, allocations: 49.7 kB / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.5104, allocations: 10.88 kB / 0.9562 GB, free: 4.016 MB / 0.7169 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 9.092e-05/0.5105, allocations: 141.9 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5105, allocations: 13.39 kB / 0.9563 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.5105, allocations: 15.47 kB / 0.9564 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5105, allocations: 5.312 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5106, allocations: 5.312 kB / 0.9564 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5106, allocations: 1.375 kB / 0.9564 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5107, allocations: 208.7 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5107, allocations: 1.375 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.5107, allocations: 8.25 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5107, allocations: 1.375 kB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5108, allocations: 14.73 kB / 0.9566 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5108, allocations: 1.375 kB / 0.9566 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5108, allocations: 1.609 kB / 0.9566 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.511, allocations: 209.2 kB / 0.9568 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.511, allocations: 93.2 kB / 0.9569 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.5111, allocations: 6.266 kB / 0.9569 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.5111, allocations: 14.91 kB / 0.9569 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.5112, allocations: 8.547 kB / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5112, allocations: 4.656 kB / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.5112, allocations: 108.8 kB / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.052e-06/0.5112, allocations: 0 / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003489/0.5116, allocations: 106.3 kB / 0.9571 GB, free: 3.223 MB / 0.7169 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.0005636/0.5122, allocations: 0.8383 MB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.5124, allocations: 220.2 kB / 0.9582 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5125, allocations: 0.6875 kB / 0.9582 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.5125, allocations: 60.62 kB / 0.9582 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.5127, allocations: 18.81 kB / 0.9582 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5142, allocations: 1.819 MB / 0.96 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.5143, allocations: 0.7057 MB / 0.9607 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.5144, allocations: 16.73 kB / 0.9607 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.5144, allocations: 34.8 kB / 0.9607 GB, free: 64 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5144, allocations: 0 / 0.9607 GB, free: 64 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.5333, allocations: 4.565 MB / 0.9652 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.83, allocations: 16.77 kB / 0.9652 GB, free: 13.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)