Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001825/0.001825, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002428/0.002428, allocations: 216.9 kB / 23.04 MB, free: 5.074 MB / 14.72 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.346/3.346, allocations: 0.49 GB / 0.7959 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.41 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4695, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.0039/0.4734, allocations: 1.53 MB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.4748, allocations: 0.6734 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.4748, allocations: 4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.4749, allocations: 11.86 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.475, allocations: 15.86 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4762, allocations: 358.2 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.4765, allocations: 167.7 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.4766, allocations: 16 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4767, allocations: 71.83 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4768, allocations: 51.75 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.4768, allocations: 12 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.4773, allocations: 287.7 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.4774, allocations: 43.89 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4775, allocations: 67.7 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.478, allocations: 299.3 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.478, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.478, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.478, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 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.0007709/0.4788, allocations: 409.3 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4788, allocations: 12.03 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.147e-05/0.4788, allocations: 4.188 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.4789, allocations: 38.75 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.4789, allocations: 12.84 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4792, allocations: 154.3 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4792, allocations: 8.375 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.4792, allocations: 8.375 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.4795, allocations: 102.2 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4795, allocations: 3.984 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4795, allocations: 8 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.4795, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.4796, allocations: 47.97 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.48, allocations: 222.4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4802, allocations: 107.9 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4803, allocations: 58.67 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.4803, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.4807, allocations: 139.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.4807, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.000483/0.4811, allocations: 217.4 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/0.4812, allocations: 118.8 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4814, allocations: 143.5 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.4815, allocations: 41.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.4815, allocations: 92.64 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.4816, allocations: 51.58 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4817, allocations: 65.69 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4819, allocations: 330.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.482, allocations: 48.27 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.4823, allocations: 180.5 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.4825, allocations: 134.5 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4825, allocations: 3.938 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003343/0.4828, allocations: 197.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4828, allocations: 7.938 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.4829, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4829, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.483, allocations: 11.98 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.483, allocations: 8 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4832, allocations: 55.17 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4833, allocations: 8 kB / 1.333 GB, free: 11.05 MB / 1.029 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.0001646/0.4834, allocations: 148.5 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4835, allocations: 11.95 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.4835, allocations: 12.72 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4835, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4835, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4835, allocations: 7.984 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4837, allocations: 184.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4837, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.4838, allocations: 15.92 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4838, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4838, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4838, allocations: 3.938 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4838, allocations: 4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4841, allocations: 210.6 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.4842, allocations: 19.84 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4842, allocations: 7.938 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.4842, allocations: 4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.4843, allocations: 11.98 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4843, allocations: 7.984 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.167e-05/0.4844, allocations: 112.7 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4844, allocations: 4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004165/0.4848, allocations: 99.8 kB / 1.334 GB, free: 10.11 MB / 1.029 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.0008642/0.4857, allocations: 0.8471 MB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.486, allocations: 212.9 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.486, allocations: 4 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.4861, allocations: 47.86 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.4863, allocations: 11.94 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4886, allocations: 1.835 MB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.4889, allocations: 0.7122 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.489, allocations: 12.97 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.4891, allocations: 31.42 kB / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of SimCode: time 1.222e-06/0.4891, allocations: 0 / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.5166, allocations: 4.832 MB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.1, allocations: 4.062 kB / 1.342 GB, free: 1.555 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.624919150024652] Failed to read output from testmodel.py, exit status != 0: 12.276718025968876 12.293578237 11.812188183 Calling exit ...