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.001753/0.001754, allocations: 101.9 kB / 16.4 MB, free: 6.461 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.002062/0.002062, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.397/1.397, 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.002271/0.002271, allocations: 293.1 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 0.9606/0.9606, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 103.8 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4884, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002853/0.4913, allocations: 1.484 MB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4926, allocations: 0.6946 MB / 0.7691 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.4927, allocations: 4 kB / 0.7691 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.4928, allocations: 7.922 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.4929, allocations: 15.86 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4941, allocations: 356.4 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.4944, allocations: 171.6 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.4944, allocations: 4 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.4945, allocations: 63.89 kB / 0.7697 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.4946, allocations: 59.75 kB / 0.7698 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.4947, allocations: 8 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.495, allocations: 251.7 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.4951, allocations: 35.91 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.4952, allocations: 67.7 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.4957, allocations: 299.1 kB / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4957, allocations: 0 / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4957, allocations: 0 / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4958, allocations: 0 / 0.7704 GB, free: 428 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.0006707/0.4964, allocations: 477.5 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4965, allocations: 8.031 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.4965, allocations: 12.84 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4968, allocations: 220 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4968, allocations: 8.375 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.4968, allocations: 12.36 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.497, allocations: 96.8 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4971, allocations: 192 / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4971, allocations: 3.938 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4971, allocations: 0 / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.4972, allocations: 51.91 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.4975, allocations: 247.4 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4976, allocations: 115.8 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.4977, allocations: 74.66 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.4978, allocations: 4 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.498, allocations: 138.5 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/0.498, allocations: 0 / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004093/0.4984, allocations: 213.4 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.4985, allocations: 126.7 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4986, allocations: 140.7 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4987, allocations: 33.7 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.4988, allocations: 100.7 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.4988, allocations: 55.28 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.4989, allocations: 61.69 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.499, allocations: 326.8 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.4991, allocations: 52.25 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.4993, allocations: 176.5 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.4995, allocations: 134.5 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4995, allocations: 4 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002911/0.4998, allocations: 201.3 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4999, allocations: 8 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.4999, allocations: 4 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4999, allocations: 0 / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.5, allocations: 19.88 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.5, allocations: 0.9375 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.5003, allocations: 54.73 kB / 0.7735 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5003, allocations: 4 kB / 0.7735 GB, free: 12.96 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.0001277/0.5004, allocations: 147.3 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.5004, allocations: 15.75 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.5005, allocations: 20.7 kB / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5005, allocations: 0 / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5005, allocations: 4 kB / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5005, allocations: 0 / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.5007, allocations: 213.4 kB / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5007, allocations: 4 kB / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.5007, allocations: 12.14 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5008, allocations: 4 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5008, allocations: 3.984 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5008, allocations: 4 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5008, allocations: 0 / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.5011, allocations: 212.4 kB / 0.7741 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.5011, allocations: 92.92 kB / 0.7742 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.5011, allocations: 8 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.5012, allocations: 11.92 kB / 0.7742 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5013, allocations: 11.98 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5013, allocations: 4 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.5014, allocations: 103.3 kB / 0.7743 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5014, allocations: 0 / 0.7743 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003603/0.5017, allocations: 103.9 kB / 0.7744 GB, free: 11.91 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.0003051/0.502, allocations: 207.1 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.5024, allocations: 212.9 kB / 0.7748 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5024, allocations: 4 kB / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.5025, allocations: 63.89 kB / 0.7749 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.5027, allocations: 8.719 kB / 0.7749 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.5032, allocations: 270.4 kB / 0.7751 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.5036, allocations: 0.7123 MB / 0.7758 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.5036, allocations: 19.44 kB / 0.7758 GB, free: 10.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5036, allocations: 0 / 0.7758 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Templates: time 0.006105/0.5097, allocations: 3.115 MB / 0.7789 GB, free: 7.254 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)