Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.002405/0.002405, allocations: 181.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 283.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004004/0.004004, allocations: 99.83 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4853, allocations: 86.97 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002701/0.488, allocations: 1.475 MB / 0.7685 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.4893, allocations: 0.6947 MB / 0.7691 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.4893, allocations: 0 / 0.7691 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.009e-05/0.4894, allocations: 11.86 kB / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.4894, allocations: 23.78 kB / 0.7692 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.4904, allocations: 346.7 kB / 0.7695 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.4907, allocations: 171.6 kB / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.4907, allocations: 8 kB / 0.7697 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.4908, allocations: 71.81 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.4909, allocations: 47.77 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4909, allocations: 12 kB / 0.7698 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.4913, allocations: 247.8 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.4914, allocations: 39.89 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.4914, allocations: 59.72 kB / 0.7701 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.4919, allocations: 304.8 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4919, allocations: 3.938 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4919, allocations: 0 / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4919, allocations: 4 kB / 0.7704 GB, free: 316 kB / 0.5294 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.0006985/0.4926, allocations: 474.5 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4926, allocations: 12.03 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.4927, allocations: 20.84 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.4929, allocations: 214.7 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4929, allocations: 4.375 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.493, allocations: 16.36 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.4932, allocations: 100.7 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4932, allocations: 192 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4932, allocations: 7.938 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4932, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4933, allocations: 47.91 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.4936, allocations: 243.4 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4938, allocations: 107.8 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4939, allocations: 66.66 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4939, allocations: 0 / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4941, allocations: 140 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.4941, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004479/0.4946, allocations: 217.4 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.4946, allocations: 114.8 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4948, allocations: 141.8 kB / 0.7723 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.4948, allocations: 37.7 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.4949, allocations: 100.7 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.495, allocations: 59.56 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.495, allocations: 57.69 kB / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4952, allocations: 330.8 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4953, allocations: 56.19 kB / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.4955, allocations: 179.5 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.4957, allocations: 138.5 kB / 0.7732 GB, free: 13.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4957, allocations: 0 / 0.7732 GB, free: 13.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003136/0.496, allocations: 205.3 kB / 0.7734 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4961, allocations: 7.125 kB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.4961, allocations: 4 kB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4961, allocations: 8 kB / 0.7734 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.4962, allocations: 12 kB / 0.7734 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.4962, allocations: 4 kB / 0.7734 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.4964, allocations: 47.83 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.4964, allocations: 8 kB / 0.7735 GB, free: 12.86 MB / 0.545 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.0001313/0.4966, allocations: 142.4 kB / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.4966, allocations: 19.84 kB / 0.7736 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.4966, allocations: 16.7 kB / 0.7736 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4966, allocations: 4 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4966, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4967, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4968, allocations: 209.5 kB / 0.7739 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4968, allocations: 4.141 kB / 0.7739 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.4969, allocations: 15.94 kB / 0.7739 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4969, allocations: 3.984 kB / 0.7739 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4969, allocations: 8 kB / 0.7739 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4969, allocations: 0 / 0.7739 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4969, allocations: 0 / 0.7739 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.4972, allocations: 214.6 kB / 0.7741 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.4973, allocations: 89.02 kB / 0.7742 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4973, allocations: 8 kB / 0.7742 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.4974, allocations: 7.922 kB / 0.7742 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.4974, allocations: 19.86 kB / 0.7742 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4974, allocations: 12 kB / 0.7742 GB, free: 12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.718e-05/0.4975, allocations: 99.27 kB / 0.7743 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4975, allocations: 4 kB / 0.7743 GB, free: 11.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003517/0.4979, allocations: 99.73 kB / 0.7744 GB, free: 11.8 MB / 0.545 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.0003342/0.4982, allocations: 199.9 kB / 0.7746 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.4985, allocations: 205.3 kB / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4985, allocations: 0 / 0.7748 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.4986, allocations: 55.91 kB / 0.7749 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.4988, allocations: 8 kB / 0.7749 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.4993, allocations: 244.5 kB / 0.7751 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4996, allocations: 0.7045 MB / 0.7758 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4997, allocations: 12.88 kB / 0.7758 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4997, allocations: 23.38 kB / 0.7758 GB, free: 10.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.4997, allocations: 0 / 0.7758 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Templates: time 0.006886/0.5066, allocations: 3.105 MB / 0.7788 GB, free: 7.234 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)