Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.0013/0.0013, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7831, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001776/0.785, allocations: 1.177 MB / 0.9547 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.786, allocations: 0.6041 MB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.7861, allocations: 1.375 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.95e-05/0.7862, allocations: 3.938 kB / 0.9553 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.7863, allocations: 19.95 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.7873, allocations: 281.6 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.7875, allocations: 98.16 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.7876, allocations: 5.656 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.7877, allocations: 63.11 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.7878, allocations: 45.95 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.7878, allocations: 7.156 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.7882, allocations: 207.9 kB / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.7883, allocations: 30.05 kB / 0.9561 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.7883, allocations: 52.45 kB / 0.9561 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.7887, allocations: 213.3 kB / 0.9563 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7887, allocations: 3.938 kB / 0.9563 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7887, allocations: 0 / 0.9563 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.7887, allocations: 0 / 0.9563 GB, free: 6.047 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.0005977/0.7893, allocations: 444.8 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7894, allocations: 14.34 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.7894, allocations: 39.94 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.7895, allocations: 18.48 kB / 0.9568 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.7897, allocations: 204.8 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.7897, allocations: 8.688 kB / 0.957 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.7898, allocations: 12.83 kB / 0.957 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.79, allocations: 97.42 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.79, allocations: 0 / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.79, allocations: 5.188 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.79, allocations: 4.984 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.7901, allocations: 54.7 kB / 0.9572 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.7904, allocations: 239.3 kB / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.7905, allocations: 114.7 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.7906, allocations: 2.438 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.7908, allocations: 130.7 kB / 0.9576 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.7908, allocations: 1.312 kB / 0.9576 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0005179/0.7913, allocations: 451.9 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.7914, allocations: 126.8 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.7915, allocations: 142.3 kB / 0.9583 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.7916, allocations: 40.66 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.7916, allocations: 96.52 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.7917, allocations: 51.02 kB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.7917, allocations: 5.969 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.7918, allocations: 330.5 kB / 0.9588 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.7919, allocations: 48.52 kB / 0.9589 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.7921, allocations: 176.5 kB / 0.959 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.7922, allocations: 72.27 kB / 0.9591 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7922, allocations: 0 / 0.9591 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002781/0.7925, allocations: 195.3 kB / 0.9593 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7925, allocations: 5.125 kB / 0.9593 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.7926, allocations: 13.42 kB / 0.9593 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7926, allocations: 3.938 kB / 0.9593 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.7927, allocations: 11 kB / 0.9593 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7927, allocations: 1.375 kB / 0.9593 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.7929, allocations: 62 kB / 0.9594 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.793, allocations: 5.5 kB / 0.9594 GB, free: 3.184 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 ($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.0001146/0.7931, allocations: 145.7 kB / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7931, allocations: 13.31 kB / 0.9595 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.7932, allocations: 15.45 kB / 0.9596 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.7932, allocations: 6.75 kB / 0.9596 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7932, allocations: 0 / 0.9596 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7932, allocations: 1.375 kB / 0.9596 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.7933, allocations: 206.2 kB / 0.9598 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7933, allocations: 7.984 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.7934, allocations: 9.625 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7934, allocations: 1.375 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.7934, allocations: 2.75 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7934, allocations: 5.312 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7934, allocations: 0 / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.7937, allocations: 244 kB / 0.96 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.7937, allocations: 96.97 kB / 0.9601 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.7938, allocations: 2.75 kB / 0.9601 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.7938, allocations: 12.11 kB / 0.9601 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.7939, allocations: 17.44 kB / 0.9601 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7939, allocations: 4.125 kB / 0.9602 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.794, allocations: 104 kB / 0.9602 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.322e-06/0.794, allocations: 0 / 0.9602 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004341/0.7944, allocations: 109.5 kB / 0.9604 GB, free: 2.348 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 (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.0007224/0.7952, allocations: 1.002 MB / 0.9613 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.7955, allocations: 218.3 kB / 0.9615 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7955, allocations: 0 / 0.9615 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.7956, allocations: 56.8 kB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7957, allocations: 8.406 kB / 0.9616 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.7971, allocations: 1.162 MB / 0.9627 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.7973, allocations: 0.711 MB / 0.9634 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.7974, allocations: 17.12 kB / 0.9634 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.7975, allocations: 29.25 kB / 0.9635 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7975, allocations: 1.031 kB / 0.9635 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.8164, allocations: 4.266 MB / 0.9676 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.8167, allocations: 206.1 kB / 0.9678 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.512, allocations: 2.875 kB / 0.9678 GB, free: 13.34 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat does not exist to compare? outputFormat=mat