Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_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.001037/0.001037, allocations: 108 kB / 15.6 MB, free: 132 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.001057/0.001057, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7281/0.7281, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.42 kB / 0.5019 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3212, allocations: 80.2 MB / 0.5802 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002285/0.3236, allocations: 1.478 MB / 0.5816 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.3245, allocations: 0.6962 MB / 0.5823 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.3245, allocations: 0 / 0.5823 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.644e-05/0.3246, allocations: 9.312 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.3247, allocations: 16.73 kB / 0.5823 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.3255, allocations: 346.5 kB / 0.5827 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.3257, allocations: 166.8 kB / 0.5828 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.3258, allocations: 13.89 kB / 0.5828 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.3259, allocations: 72.7 kB / 0.5829 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.3259, allocations: 52.34 kB / 0.583 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.326, allocations: 12.09 kB / 0.583 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.3264, allocations: 255.3 kB / 0.5832 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.3264, allocations: 43.03 kB / 0.5832 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.3265, allocations: 55.67 kB / 0.5833 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3269, allocations: 300 kB / 0.5836 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3269, allocations: 3.938 kB / 0.5836 GB, free: 2.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3269, allocations: 5.062 kB / 0.5836 GB, free: 2.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3269, allocations: 0 / 0.5836 GB, free: 2.492 MB / 430.1 MB 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.0005215/0.3275, allocations: 474.1 kB / 0.584 GB, free: 2.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3275, allocations: 9.562 kB / 0.5841 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3275, allocations: 43.61 kB / 0.5841 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.3276, allocations: 15.69 kB / 0.5841 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3278, allocations: 212.7 kB / 0.5843 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3278, allocations: 6.344 kB / 0.5843 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3278, allocations: 15.42 kB / 0.5843 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.328, allocations: 97.44 kB / 0.5844 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.328, allocations: 5.609 kB / 0.5844 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.328, allocations: 4.734 kB / 0.5844 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.328, allocations: 0.9375 kB / 0.5844 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.3281, allocations: 49.62 kB / 0.5845 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.3283, allocations: 250.3 kB / 0.5847 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3285, allocations: 107.1 kB / 0.5848 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.3286, allocations: 69.61 kB / 0.5849 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.3286, allocations: 5.25 kB / 0.5849 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.3288, allocations: 140.6 kB / 0.585 GB, free: 1.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.3288, allocations: 0 / 0.585 GB, free: 1.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003703/0.3292, allocations: 221 kB / 0.5852 GB, free: 1.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3292, allocations: 116.2 kB / 0.5854 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.3293, allocations: 144.2 kB / 0.5855 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3294, allocations: 36.23 kB / 0.5855 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.3294, allocations: 94.67 kB / 0.5856 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3295, allocations: 56.33 kB / 0.5857 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.3295, allocations: 59.72 kB / 0.5857 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.3296, allocations: 328.8 kB / 0.586 GB, free: 360 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.3297, allocations: 51.42 kB / 0.5861 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3299, allocations: 178 kB / 0.5863 GB, free: 196 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.33, allocations: 136.7 kB / 0.5864 GB, free: 120 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3301, allocations: 0 / 0.5864 GB, free: 120 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002883/0.3303, allocations: 197.2 kB / 0.5866 GB, free: 28 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3304, allocations: 9.219 kB / 0.5866 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.3304, allocations: 4.984 kB / 0.5866 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3304, allocations: 2.453 kB / 0.5866 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.3305, allocations: 20 kB / 0.5866 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3305, allocations: 1.656 kB / 0.5866 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3307, allocations: 51.77 kB / 0.5867 GB, free: 0 / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3308, allocations: 5.484 kB / 0.5867 GB, free: 0 / 430.1 MB 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.0001374/0.3309, allocations: 149.5 kB / 0.5868 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.3309, allocations: 17.8 kB / 0.5868 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.331, allocations: 13.31 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.331, allocations: 2.656 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.331, allocations: 0.6562 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.331, allocations: 1.844 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3312, allocations: 208.6 kB / 0.587 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3312, allocations: 1.406 kB / 0.587 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.3312, allocations: 8.859 kB / 0.5871 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3313, allocations: 1.625 kB / 0.5871 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3313, allocations: 11.47 kB / 0.5871 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3313, allocations: 5.656 kB / 0.5871 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3313, allocations: 1.344 kB / 0.5871 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3316, allocations: 211.8 kB / 0.5873 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3316, allocations: 93.2 kB / 0.5874 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3317, allocations: 3.734 kB / 0.5874 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.3317, allocations: 16.09 kB / 0.5874 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.3318, allocations: 7.953 kB / 0.5874 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3318, allocations: 9.906 kB / 0.5874 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.452e-05/0.3319, allocations: 102.4 kB / 0.5875 GB, free: 15.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 0 / 0.5875 GB, free: 15.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.3322, allocations: 106.1 kB / 0.5876 GB, free: 15.26 MB / 446.1 MB 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.0006897/0.3329, allocations: 0.842 MB / 0.5884 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.3333, allocations: 227.7 kB / 0.5886 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3333, allocations: 1.188 kB / 0.5886 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3334, allocations: 53.38 kB / 0.5887 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3335, allocations: 13.52 kB / 0.5887 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3354, allocations: 1.815 MB / 0.5905 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3356, allocations: 0.7101 MB / 0.5912 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.3357, allocations: 12.22 kB / 0.5912 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3357, allocations: 33.36 kB / 0.5912 GB, free: 12.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3357, allocations: 0 / 0.5912 GB, free: 12.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1861/0.5218, allocations: 4.539 MB / 0.5956 GB, free: 11.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.909, allocations: 21.97 kB / 0.5957 GB, free: 11.02 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)