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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.004711/0.004711, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001049/0.001049, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 297.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 95.86 kB / 0.6809 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4079, allocations: 86.97 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002564/0.4105, allocations: 1.488 MB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.4117, allocations: 0.6908 MB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.4117, allocations: 0 / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.259e-05/0.4118, allocations: 11.92 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.4119, allocations: 11.88 kB / 0.768 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.4128, allocations: 355.9 kB / 0.7684 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.413, allocations: 167.6 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.4131, allocations: 10.81 kB / 0.7685 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.4132, allocations: 67.83 kB / 0.7686 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.4133, allocations: 55.75 kB / 0.7686 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.4133, allocations: 16 kB / 0.7687 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.4137, allocations: 251.7 kB / 0.7689 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.4137, allocations: 31.91 kB / 0.7689 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.4138, allocations: 67.7 kB / 0.769 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.4142, allocations: 299.3 kB / 0.7693 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4142, allocations: 0 / 0.7693 GB, free: 404 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4142, allocations: 0 / 0.7693 GB, free: 404 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4142, allocations: 0 / 0.7693 GB, free: 404 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.0006264/0.4149, allocations: 479 kB / 0.7697 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4149, allocations: 8.031 kB / 0.7697 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.415, allocations: 42.73 kB / 0.7698 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.415, allocations: 8.844 kB / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.4152, allocations: 216 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4153, allocations: 12.38 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.4153, allocations: 8.375 kB / 0.77 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4155, allocations: 95.45 kB / 0.7701 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4155, allocations: 11.88 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4155, allocations: 4 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4155, allocations: 0 / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.4156, allocations: 43.97 kB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.4159, allocations: 251.3 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.416, allocations: 111.8 kB / 0.7705 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.4161, allocations: 74.7 kB / 0.7706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.4161, allocations: 3.938 kB / 0.7706 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.4164, allocations: 134.8 kB / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.4164, allocations: 0 / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0003956/0.4168, allocations: 221.3 kB / 0.7709 GB, free: 14.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.4169, allocations: 118.8 kB / 0.771 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.417, allocations: 137.7 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.417, allocations: 33.7 kB / 0.7712 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.4171, allocations: 104.7 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.4172, allocations: 55.28 kB / 0.7714 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.4173, allocations: 61.69 kB / 0.7714 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4174, allocations: 326.8 kB / 0.7717 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4175, allocations: 60.25 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4177, allocations: 180.5 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4179, allocations: 130.5 kB / 0.7721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4179, allocations: 0 / 0.7721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002866/0.4182, allocations: 197.3 kB / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4182, allocations: 4 kB / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4183, allocations: 8 kB / 0.7723 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4183, allocations: 4 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.4184, allocations: 15.92 kB / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4184, allocations: 8 kB / 0.7723 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.4186, allocations: 47.31 kB / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4186, allocations: 8 kB / 0.7724 GB, free: 12.89 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.0001163/0.4188, allocations: 142.4 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4188, allocations: 19.73 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.4188, allocations: 12.72 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4188, allocations: 4 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4188, allocations: 4 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4189, allocations: 0 / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.419, allocations: 217.4 kB / 0.7727 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.419, allocations: 0 / 0.7727 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.4191, allocations: 12 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4191, allocations: 144 / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4191, allocations: 7.984 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4191, allocations: 0 / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4191, allocations: 0.9375 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.4194, allocations: 216.5 kB / 0.773 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.4195, allocations: 88.92 kB / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4195, allocations: 7.984 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.708e-05/0.4196, allocations: 7.938 kB / 0.7731 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4196, allocations: 11.98 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4196, allocations: 4 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.4197, allocations: 118.2 kB / 0.7732 GB, free: 11.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4197, allocations: 0 / 0.7732 GB, free: 11.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003615/0.4201, allocations: 107.9 kB / 0.7733 GB, free: 11.84 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.0006969/0.4208, allocations: 0.8325 MB / 0.7741 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.4211, allocations: 228.9 kB / 0.7743 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4211, allocations: 0 / 0.7743 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.4212, allocations: 55.95 kB / 0.7744 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.4214, allocations: 14 kB / 0.7744 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4232, allocations: 1.823 MB / 0.7762 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4235, allocations: 0.7083 MB / 0.7769 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.905e-05/0.4236, allocations: 12.88 kB / 0.7769 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.4236, allocations: 27.44 kB / 0.7769 GB, free: 7.961 MB / 0.545 GB Notification: Performance of SimCode: time 8.647e-06/0.4236, allocations: 0 / 0.7769 GB, free: 7.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.4453, allocations: 4.691 MB / 0.7815 GB, free: 3.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.826, allocations: 11.95 kB / 0.7815 GB, free: 3.465 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)