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.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.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.0009989/0.0009991, allocations: 99.31 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.0009347/0.000935, 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.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.397/2.397, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8017, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001549/0.8033, allocations: 1.169 MB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.8043, allocations: 0.608 MB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.8044, allocations: 0.9688 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.197e-05/0.8045, allocations: 5.062 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.8046, allocations: 15.28 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.8055, allocations: 277.6 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.8058, allocations: 98.22 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.8058, allocations: 5.094 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.8059, allocations: 71.94 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.806, allocations: 46.17 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.806, allocations: 11.38 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.8064, allocations: 207.6 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.8064, allocations: 34.45 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.8065, allocations: 43.7 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.8068, allocations: 207.5 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.8068, allocations: 0 / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8068, allocations: 0 / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.8068, allocations: 1.406 kB / 0.9563 GB, free: 6.098 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.0005046/0.8073, allocations: 454 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8074, allocations: 9 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.8074, allocations: 36.38 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.8075, allocations: 23.25 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.8077, allocations: 203.3 kB / 0.957 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.8077, allocations: 9.531 kB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.8077, allocations: 7.531 kB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.8079, allocations: 105.6 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8079, allocations: 1.031 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.8079, allocations: 1.219 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.8079, allocations: 5.203 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.808, allocations: 49.09 kB / 0.9572 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.8082, allocations: 245.2 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8084, allocations: 109.5 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.8084, allocations: 1.344 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.8086, allocations: 144.6 kB / 0.9576 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.8086, allocations: 0 / 0.9576 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004544/0.8091, allocations: 448.1 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.8091, allocations: 118.7 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.772e-05/0.8092, allocations: 148.1 kB / 0.9583 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.8093, allocations: 39.48 kB / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.8093, allocations: 93.23 kB / 0.9584 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.8094, allocations: 50.42 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.8094, allocations: 5.219 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.8095, allocations: 334.7 kB / 0.9588 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/0.8095, allocations: 50.05 kB / 0.9589 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.8097, allocations: 176.1 kB / 0.959 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.8099, allocations: 76.64 kB / 0.9591 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8099, allocations: 3.984 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002695/0.8101, allocations: 194.3 kB / 0.9593 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8102, allocations: 13.52 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.8102, allocations: 4.125 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8102, allocations: 1.375 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.8103, allocations: 11 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8103, allocations: 5.375 kB / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.8106, allocations: 61.98 kB / 0.9594 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.8106, allocations: 5.5 kB / 0.9594 GB, free: 3.223 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.000108/0.8107, allocations: 137.8 kB / 0.9595 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.8107, allocations: 17.31 kB / 0.9595 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.8108, allocations: 19.59 kB / 0.9596 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8108, allocations: 6.734 kB / 0.9596 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.8108, allocations: 4 kB / 0.9596 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8108, allocations: 1.375 kB / 0.9596 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.8109, allocations: 206.2 kB / 0.9598 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8109, allocations: 0 / 0.9598 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.811, allocations: 13.56 kB / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.811, allocations: 1.375 kB / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.811, allocations: 2.75 kB / 0.9598 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.811, allocations: 5.375 kB / 0.9598 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.811, allocations: 0 / 0.9598 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.8113, allocations: 243.8 kB / 0.96 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.8113, allocations: 92.98 kB / 0.9601 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.8114, allocations: 6.75 kB / 0.9601 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.8114, allocations: 12.11 kB / 0.9601 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.8115, allocations: 17.38 kB / 0.9602 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.8115, allocations: 4.125 kB / 0.9602 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.8116, allocations: 104.1 kB / 0.9603 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8116, allocations: 0 / 0.9603 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000396/0.812, allocations: 106.6 kB / 0.9604 GB, free: 2.391 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.0007122/0.8127, allocations: 1.001 MB / 0.9613 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.813, allocations: 214.1 kB / 0.9615 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.813, allocations: 4 kB / 0.9615 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.8131, allocations: 56.73 kB / 0.9616 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.8132, allocations: 8.438 kB / 0.9616 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8145, allocations: 1.16 MB / 0.9627 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.8148, allocations: 0.7149 MB / 0.9634 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.577e-05/0.8149, allocations: 12.22 kB / 0.9634 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.8149, allocations: 34.17 kB / 0.9635 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8149, allocations: 0 / 0.9635 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.8335, allocations: 4.262 MB / 0.9676 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.8338, allocations: 207.1 kB / 0.9678 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.571, allocations: 0 / 0.9678 GB, free: 13.38 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat does not exist to compare? outputFormat=mat