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.0008792/0.0008794, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001096/0.001096, allocations: 168.7 kB / 15.95 MB, free: 204 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.461 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.47/2.47, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.721, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001407/0.7225, allocations: 1.185 MB / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7235, allocations: 0.6451 MB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.7236, allocations: 4 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.269e-05/0.7236, allocations: 9.141 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.7237, allocations: 7.156 kB / 0.9556 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.7246, allocations: 280.2 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.7248, allocations: 142.7 kB / 0.9561 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.7249, allocations: 7.797 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.725, allocations: 67.11 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.106e-05/0.7251, allocations: 57.89 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.7251, allocations: 6.938 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.7255, allocations: 217.9 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.7256, allocations: 34.8 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.7257, allocations: 47.56 kB / 0.9565 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.726, allocations: 211.2 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.726, allocations: 0 / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.726, allocations: 1 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.726, allocations: 0 / 0.9567 GB, free: 6.055 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.0005242/0.7265, allocations: 446.8 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7266, allocations: 8.469 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.7266, allocations: 41.48 kB / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.7267, allocations: 18.52 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7268, allocations: 211.3 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.7269, allocations: 5.844 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.7269, allocations: 19.78 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7271, allocations: 98.67 kB / 0.9575 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.7271, allocations: 0 / 0.9575 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7271, allocations: 1.188 kB / 0.9575 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.7271, allocations: 5.078 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.7272, allocations: 45.5 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.7275, allocations: 251.7 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.7276, allocations: 108.3 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.7277, allocations: 66.3 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7277, allocations: 1.562 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.7279, allocations: 143.4 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.728, allocations: 1.438 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004014/0.7284, allocations: 215.4 kB / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.7284, allocations: 121.9 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.7285, allocations: 152.3 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.7286, allocations: 38.86 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.7286, allocations: 93.83 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.7287, allocations: 62.39 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.7287, allocations: 1.375 kB / 0.9587 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.7288, allocations: 327 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.7289, allocations: 49.14 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.7291, allocations: 184.8 kB / 0.9593 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.7292, allocations: 65.05 kB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.7292, allocations: 4 kB / 0.9593 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003024/0.7295, allocations: 195 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7296, allocations: 5.5 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.7296, allocations: 4.125 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7296, allocations: 1.375 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.7297, allocations: 14.81 kB / 0.9595 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.7297, allocations: 1.344 kB / 0.9595 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.73, allocations: 64.77 kB / 0.9596 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.73, allocations: 13.72 kB / 0.9596 GB, free: 3.41 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.0001085/0.7301, allocations: 131.3 kB / 0.9597 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7301, allocations: 12.03 kB / 0.9598 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.7302, allocations: 23.52 kB / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.7302, allocations: 1.938 kB / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7302, allocations: 1.719 kB / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7302, allocations: 4.875 kB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.7303, allocations: 209.3 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7304, allocations: 0.7812 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.7304, allocations: 9.75 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7304, allocations: 1.875 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.7304, allocations: 9.375 kB / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7304, allocations: 1.344 kB / 0.96 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7304, allocations: 5.297 kB / 0.96 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.7307, allocations: 213.6 kB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.7307, allocations: 93.23 kB / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.7308, allocations: 2.344 kB / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.7308, allocations: 16.55 kB / 0.9603 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.7309, allocations: 8.047 kB / 0.9603 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.7309, allocations: 5.094 kB / 0.9603 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.731, allocations: 103.3 kB / 0.9604 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.731, allocations: 4.969 kB / 0.9604 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003982/0.7314, allocations: 101.6 kB / 0.9605 GB, free: 2.629 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.0006985/0.7321, allocations: 0.8374 MB / 0.9614 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.7324, allocations: 220.1 kB / 0.9616 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7324, allocations: 0 / 0.9616 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.7325, allocations: 60.52 kB / 0.9616 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.7327, allocations: 12.58 kB / 0.9616 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.7339, allocations: 0.8669 MB / 0.9625 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.7341, allocations: 0.7139 MB / 0.9632 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.7341, allocations: 8.297 kB / 0.9632 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.7342, allocations: 34.73 kB / 0.9632 GB, free: 360 kB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.7342, allocations: 0 / 0.9632 GB, free: 360 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.7541, allocations: 4.279 MB / 0.9674 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.7544, allocations: 217.3 kB / 0.9676 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.541, allocations: 0.7188 kB / 0.9676 GB, free: 14.08 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