Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001649/0.001649, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001989/0.001989, allocations: 212 kB / 20.13 MB, free: 2.949 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.772/1.772, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.166/3.166, allocations: 0.49 GB / 0.7923 GB, free: 1.48 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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.002536/0.002536, allocations: 59.91 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391/1.394, allocations: 176.1 MB / 1.321 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002764/1.397, allocations: 1.506 MB / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/1.398, allocations: 0.6822 MB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/1.398, allocations: 0 / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/1.398, allocations: 11.44 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/1.398, allocations: 14.77 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009063/1.399, allocations: 351.2 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/1.399, allocations: 169 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/1.399, allocations: 6.797 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/1.399, allocations: 67.77 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/1.399, allocations: 54.36 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/1.399, allocations: 11.72 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/1.4, allocations: 261.2 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/1.4, allocations: 41.62 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/1.4, allocations: 60.97 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/1.4, allocations: 300.2 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.4, allocations: 7.938 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.4, allocations: 0 / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.784e-06/1.4, allocations: 0 / 1.325 GB, free: 22.78 MB / 1.061 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.0006045/1.401, allocations: 484.6 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.401, allocations: 12.42 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.077e-05/1.401, allocations: 6.875 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/1.401, allocations: 37.5 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/1.401, allocations: 17.72 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/1.401, allocations: 206.8 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/1.401, allocations: 9.625 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/1.401, allocations: 8.188 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/1.401, allocations: 105.9 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.401, allocations: 4 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.401, allocations: 2.594 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.401, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/1.401, allocations: 48.61 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/1.402, allocations: 243.8 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.402, allocations: 108.2 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/1.402, allocations: 65.11 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/1.402, allocations: 2.781 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/1.402, allocations: 133.7 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/1.402, allocations: 0 / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004258/1.403, allocations: 223.3 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.403, allocations: 116.5 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.403, allocations: 141.5 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.403, allocations: 38.86 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/1.403, allocations: 93.73 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/1.403, allocations: 62.33 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.403, allocations: 64.44 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/1.403, allocations: 329.6 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.403, allocations: 44.55 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.404, allocations: 184.3 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/1.404, allocations: 127.5 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.404, allocations: 3.938 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003595/1.404, allocations: 208.5 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.404, allocations: 5.719 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/1.404, allocations: 7.969 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.404, allocations: 1.5 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/1.404, allocations: 17.78 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.404, allocations: 2.156 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.405, allocations: 55.94 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/1.405, allocations: 10.22 kB / 1.328 GB, free: 20.26 MB / 1.061 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.0001248/1.405, allocations: 139.7 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/1.405, allocations: 16.16 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/1.405, allocations: 16.16 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.405, allocations: 1.625 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.405, allocations: 0.8125 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.405, allocations: 4.906 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/1.405, allocations: 210.5 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.405, allocations: 0 / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/1.405, allocations: 16.22 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.405, allocations: 2.062 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.405, allocations: 5.844 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.405, allocations: 1.5 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.405, allocations: 4.562 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/1.405, allocations: 212.9 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/1.405, allocations: 88.92 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/1.405, allocations: 10.05 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/1.405, allocations: 6.562 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/1.406, allocations: 8.688 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.406, allocations: 3.969 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.446e-05/1.406, allocations: 112 kB / 1.329 GB, free: 19.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.406, allocations: 5.406 kB / 1.329 GB, free: 19.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005135/1.406, allocations: 104.6 kB / 1.329 GB, free: 19.53 MB / 1.061 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.0007382/1.407, allocations: 0.8396 MB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003712/1.407, allocations: 218.9 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.407, allocations: 0 / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/1.407, allocations: 51.66 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/1.408, allocations: 15.38 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/1.409, allocations: 1.82 MB / 1.332 GB, free: 17.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/1.41, allocations: 0.7152 MB / 1.332 GB, free: 16.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.108e-05/1.41, allocations: 11.05 kB / 1.332 GB, free: 16.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/1.41, allocations: 33.83 kB / 1.333 GB, free: 16.54 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.41, allocations: 0 / 1.333 GB, free: 16.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/1.435, allocations: 4.661 MB / 1.337 GB, free: 15.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/10.17, allocations: 6.5 kB / 1.337 GB, free: 15.9 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.622041213035118] Failed to read output from testmodel.py, exit status != 0: 10.300064757000655 10.31752851 8.914090872 Calling exit ...