Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.001328/0.001328, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192 kB / 16.67 MB, free: 6.582 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9258/0.9258, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 64.12 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3564, allocations: 81.01 MB / 0.6648 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001968/0.3584, allocations: 1.481 MB / 0.6663 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.3592, allocations: 0.6929 MB / 0.667 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.3593, allocations: 0 / 0.667 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.422e-05/0.3594, allocations: 9.141 kB / 0.667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.3594, allocations: 19.98 kB / 0.667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.3602, allocations: 349.4 kB / 0.6673 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3604, allocations: 166.5 kB / 0.6675 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3604, allocations: 9.922 kB / 0.6675 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.3605, allocations: 73.33 kB / 0.6676 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.3606, allocations: 52.62 kB / 0.6676 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3606, allocations: 11.88 kB / 0.6676 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.3609, allocations: 249.8 kB / 0.6679 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.3609, allocations: 34.5 kB / 0.6679 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.361, allocations: 66.95 kB / 0.6679 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.3613, allocations: 302.8 kB / 0.6682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3613, allocations: 0 / 0.6682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3613, allocations: 1.094 kB / 0.6682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3614, allocations: 0 / 0.6682 GB, free: 4.508 MB / 0.4981 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.0004559/0.3618, allocations: 480 kB / 0.6687 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3618, allocations: 13.75 kB / 0.6687 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.3619, allocations: 45.05 kB / 0.6688 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3619, allocations: 15.81 kB / 0.6688 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3621, allocations: 204.6 kB / 0.669 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3621, allocations: 9.25 kB / 0.669 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.3621, allocations: 17.12 kB / 0.669 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3623, allocations: 100.9 kB / 0.6691 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3623, allocations: 3.938 kB / 0.6691 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3623, allocations: 5.156 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3623, allocations: 1.188 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.3624, allocations: 49.5 kB / 0.6691 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.3626, allocations: 248 kB / 0.6694 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3627, allocations: 107.7 kB / 0.6695 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.3628, allocations: 79.28 kB / 0.6696 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3628, allocations: 1.469 kB / 0.6696 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.363, allocations: 140.3 kB / 0.6697 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.363, allocations: 0 / 0.6697 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003443/0.3633, allocations: 213.6 kB / 0.6699 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3634, allocations: 118.7 kB / 0.67 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.3634, allocations: 137.6 kB / 0.6701 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3635, allocations: 39.78 kB / 0.6702 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.3635, allocations: 96.86 kB / 0.6703 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.3636, allocations: 59.89 kB / 0.6703 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.3636, allocations: 64.06 kB / 0.6704 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.3637, allocations: 330.7 kB / 0.6707 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.3638, allocations: 54.47 kB / 0.6708 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3639, allocations: 183.4 kB / 0.6709 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3641, allocations: 129.1 kB / 0.6711 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3641, allocations: 3.938 kB / 0.6711 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000245/0.3644, allocations: 196.4 kB / 0.6712 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3644, allocations: 5.5 kB / 0.6712 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.3644, allocations: 4.906 kB / 0.6713 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3644, allocations: 1.25 kB / 0.6713 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.3645, allocations: 18.61 kB / 0.6713 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3645, allocations: 1.609 kB / 0.6713 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3647, allocations: 53.45 kB / 0.6713 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3647, allocations: 10.2 kB / 0.6713 GB, free: 1.766 MB / 0.4981 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 8.022e-05/0.3648, allocations: 145.7 kB / 0.6715 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.3648, allocations: 9.078 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.3649, allocations: 12 kB / 0.6715 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3649, allocations: 2.719 kB / 0.6715 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3649, allocations: 0 / 0.6715 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3649, allocations: 5.312 kB / 0.6715 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.365, allocations: 218.2 kB / 0.6717 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.365, allocations: 4 kB / 0.6717 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.3651, allocations: 13 kB / 0.6717 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3651, allocations: 8.984 kB / 0.6717 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3651, allocations: 3.344 kB / 0.6717 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3651, allocations: 1.156 kB / 0.6717 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3651, allocations: 1.219 kB / 0.6717 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3653, allocations: 212.3 kB / 0.6719 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3653, allocations: 89.86 kB / 0.672 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3654, allocations: 6.156 kB / 0.672 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.3654, allocations: 7.391 kB / 0.672 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3655, allocations: 16.62 kB / 0.6721 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3655, allocations: 7.375 kB / 0.6721 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.3655, allocations: 109.9 kB / 0.6722 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3655, allocations: 4 kB / 0.6722 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003039/0.3659, allocations: 106.3 kB / 0.6723 GB, free: 0.9648 MB / 0.4981 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.0005085/0.3664, allocations: 0.8368 MB / 0.6731 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3666, allocations: 224.3 kB / 0.6733 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3666, allocations: 0 / 0.6733 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.3667, allocations: 56.66 kB / 0.6734 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3669, allocations: 12.09 kB / 0.6734 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3688, allocations: 1.837 MB / 0.6752 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3691, allocations: 0.7054 MB / 0.6759 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.3692, allocations: 11.94 kB / 0.6759 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.3693, allocations: 30.34 kB / 0.6759 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.3693, allocations: 0 / 0.6759 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2115/0.5807, allocations: 4.619 MB / 0.6804 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.881, allocations: 5 kB / 0.6804 GB, free: 11.46 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)