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.004441/0.004441, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001074/0.001074, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002118, allocations: 302.9 kB / 290.8 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 0.9209/0.9209, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 95.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4066, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002202/0.4088, allocations: 1.484 MB / 0.7678 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.4098, allocations: 0.6947 MB / 0.7685 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.4099, allocations: 0 / 0.7685 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.41, allocations: 7.922 kB / 0.7685 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.41, allocations: 11.88 kB / 0.7685 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.4109, allocations: 349 kB / 0.7688 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.4111, allocations: 171.6 kB / 0.769 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.4111, allocations: 7.984 kB / 0.769 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.4112, allocations: 67.84 kB / 0.7691 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.4113, allocations: 55.75 kB / 0.7691 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.4114, allocations: 12 kB / 0.7691 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.4117, allocations: 255.7 kB / 0.7694 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.4118, allocations: 35.91 kB / 0.7694 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.4118, allocations: 63.7 kB / 0.7695 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4122, allocations: 295.1 kB / 0.7698 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4122, allocations: 0 / 0.7698 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4122, allocations: 4 kB / 0.7698 GB, free: 448 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.4122, allocations: 0 / 0.7698 GB, free: 448 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.0005748/0.4128, allocations: 477.5 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.4128, allocations: 12.03 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.4129, allocations: 12.84 kB / 0.7702 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4131, allocations: 218.2 kB / 0.7704 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4132, allocations: 8.375 kB / 0.7705 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.4132, allocations: 8.375 kB / 0.7705 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4134, allocations: 96.8 kB / 0.7706 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.4134, allocations: 192 / 0.7706 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4134, allocations: 11.81 kB / 0.7706 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4134, allocations: 8 kB / 0.7706 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.4135, allocations: 47.95 kB / 0.7706 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.4138, allocations: 247.3 kB / 0.7709 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.414, allocations: 107.8 kB / 0.771 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.4141, allocations: 74.7 kB / 0.771 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4141, allocations: 7.938 kB / 0.771 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.4143, allocations: 129.9 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.557e-06/0.4143, allocations: 4 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004079/0.4148, allocations: 217.3 kB / 0.7714 GB, free: 14.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.4148, allocations: 118.8 kB / 0.7715 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.415, allocations: 140.9 kB / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.415, allocations: 37.69 kB / 0.7717 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.4151, allocations: 96.7 kB / 0.7717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.4151, allocations: 55.28 kB / 0.7718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.4152, allocations: 65.69 kB / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4154, allocations: 330.8 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4155, allocations: 52.27 kB / 0.7722 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.4157, allocations: 178.1 kB / 0.7724 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.4159, allocations: 138.5 kB / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4159, allocations: 0 / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002991/0.4162, allocations: 201.3 kB / 0.7727 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4162, allocations: 4 kB / 0.7727 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.4162, allocations: 4 kB / 0.7727 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4162, allocations: 0 / 0.7727 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4164, allocations: 19.92 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4164, allocations: 0.9375 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.4166, allocations: 51.8 kB / 0.7728 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4166, allocations: 4 kB / 0.7728 GB, free: 12.98 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.0001507/0.4168, allocations: 147.3 kB / 0.7729 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4168, allocations: 15.89 kB / 0.773 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.4169, allocations: 20.7 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4169, allocations: 0 / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4169, allocations: 7.938 kB / 0.773 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4169, allocations: 0 / 0.773 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.4171, allocations: 217.4 kB / 0.7732 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4171, allocations: 0 / 0.7732 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.4171, allocations: 11.98 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4171, allocations: 4 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4171, allocations: 0 / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4172, allocations: 4 kB / 0.7732 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4172, allocations: 0 / 0.7732 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.4174, allocations: 216.2 kB / 0.7734 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.4175, allocations: 92.91 kB / 0.7735 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4175, allocations: 4 kB / 0.7735 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.4176, allocations: 7.938 kB / 0.7735 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4176, allocations: 11.98 kB / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.4177, allocations: 4 kB / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.4177, allocations: 107.2 kB / 0.7736 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4177, allocations: 0 / 0.7736 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000338/0.4181, allocations: 103.9 kB / 0.7737 GB, free: 11.93 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.0003278/0.4184, allocations: 207 kB / 0.7739 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.4188, allocations: 221 kB / 0.7741 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4188, allocations: 0 / 0.7741 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.4189, allocations: 55.92 kB / 0.7742 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4191, allocations: 8 kB / 0.7742 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.4196, allocations: 251.1 kB / 0.7744 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4199, allocations: 0.7045 MB / 0.7751 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.42, allocations: 12.88 kB / 0.7751 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.42, allocations: 19.44 kB / 0.7752 GB, free: 10.38 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.42, allocations: 0 / 0.7752 GB, free: 10.38 MB / 0.545 GB Notification: Performance of Templates: time 0.006169/0.4262, allocations: 3.103 MB / 0.7782 GB, free: 7.344 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)