Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001995/0.001995, allocations: 196.2 kB / 16.14 MB, free: 6.672 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 132.2 MB / 422.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.94 kB / 0.5012 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3102, allocations: 80.2 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002254/0.3124, allocations: 1.536 MB / 0.581 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.3134, allocations: 0.726 MB / 0.5817 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.3135, allocations: 0.9375 kB / 0.5817 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.101e-05/0.3136, allocations: 7.719 kB / 0.5817 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.3136, allocations: 17.39 kB / 0.5817 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.3144, allocations: 289.9 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3146, allocations: 162.9 kB / 0.5822 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.3147, allocations: 14.02 kB / 0.5822 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.3148, allocations: 58 kB / 0.5822 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.3149, allocations: 61.17 kB / 0.5823 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3149, allocations: 6.969 kB / 0.5823 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.3153, allocations: 242.9 kB / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.3153, allocations: 31.97 kB / 0.5826 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.693e-05/0.3154, allocations: 56.73 kB / 0.5826 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.3158, allocations: 293.5 kB / 0.5829 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3158, allocations: 1.969 kB / 0.5829 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3158, allocations: 0 / 0.5829 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3159, allocations: 0 / 0.5829 GB, free: 2.52 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.0005007/0.3164, allocations: 473.3 kB / 0.5833 GB, free: 2.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3164, allocations: 10.31 kB / 0.5833 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.3164, allocations: 39.28 kB / 0.5834 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.3165, allocations: 19.89 kB / 0.5834 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3167, allocations: 210.3 kB / 0.5836 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3167, allocations: 5.141 kB / 0.5836 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3167, allocations: 13.09 kB / 0.5836 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3169, allocations: 99 kB / 0.5837 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3169, allocations: 12.83 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3169, allocations: 2.141 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3169, allocations: 0.7812 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.317, allocations: 49.28 kB / 0.5838 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.3172, allocations: 250.9 kB / 0.584 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3173, allocations: 109.4 kB / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.3174, allocations: 73.81 kB / 0.5842 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3174, allocations: 5.844 kB / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3176, allocations: 136.5 kB / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.3177, allocations: 0 / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003674/0.318, allocations: 225.8 kB / 0.5845 GB, free: 1.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3181, allocations: 112 kB / 0.5847 GB, free: 1.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.3182, allocations: 142.2 kB / 0.5848 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3182, allocations: 35.8 kB / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.3182, allocations: 95.89 kB / 0.5849 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3183, allocations: 63.72 kB / 0.585 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3184, allocations: 59.42 kB / 0.585 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.3184, allocations: 328.3 kB / 0.5853 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.3185, allocations: 52.3 kB / 0.5854 GB, free: 360 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3187, allocations: 181.7 kB / 0.5856 GB, free: 212 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3189, allocations: 128.6 kB / 0.5857 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3189, allocations: 0 / 0.5857 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002687/0.3191, allocations: 201.2 kB / 0.5859 GB, free: 48 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3192, allocations: 5.719 kB / 0.5859 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.3192, allocations: 5.281 kB / 0.5859 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3192, allocations: 2.031 kB / 0.5859 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.3193, allocations: 23.12 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3193, allocations: 2.125 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.3195, allocations: 50.73 kB / 0.586 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3195, allocations: 5.75 kB / 0.586 GB, free: 20 kB / 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.0001407/0.3197, allocations: 150.2 kB / 0.5861 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3197, allocations: 10.42 kB / 0.5861 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.3197, allocations: 13.31 kB / 0.5861 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3198, allocations: 5.312 kB / 0.5861 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3198, allocations: 1.406 kB / 0.5861 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3198, allocations: 1.531 kB / 0.5861 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3199, allocations: 208.5 kB / 0.5863 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3199, allocations: 1.844 kB / 0.5863 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.32, allocations: 10.23 kB / 0.5864 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.32, allocations: 0.9375 kB / 0.5864 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.32, allocations: 6.609 kB / 0.5864 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.32, allocations: 2.156 kB / 0.5864 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.32, allocations: 5.281 kB / 0.5864 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3203, allocations: 211.9 kB / 0.5866 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3204, allocations: 93.95 kB / 0.5867 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3204, allocations: 6.328 kB / 0.5867 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.3205, allocations: 14 kB / 0.5867 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3205, allocations: 7.188 kB / 0.5867 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3205, allocations: 9.156 kB / 0.5867 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.3206, allocations: 107.5 kB / 0.5868 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3206, allocations: 1.031 kB / 0.5868 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.321, allocations: 105.9 kB / 0.5869 GB, free: 15.28 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.0006915/0.3217, allocations: 0.8448 MB / 0.5877 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.322, allocations: 219.3 kB / 0.5879 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.322, allocations: 3.938 kB / 0.5879 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.3221, allocations: 53.75 kB / 0.588 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.3222, allocations: 15.69 kB / 0.588 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.324, allocations: 1.831 MB / 0.5898 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3243, allocations: 0.7109 MB / 0.5905 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.3243, allocations: 11.47 kB / 0.5905 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.3244, allocations: 32.83 kB / 0.5905 GB, free: 12.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3244, allocations: 3.938 kB / 0.5905 GB, free: 12.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.433/2.757, allocations: 4.316 MB / 0.5947 GB, free: 11.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/2.758, allocations: 222.8 kB / 0.595 GB, free: 11.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/4.951, allocations: 1.281 kB / 0.595 GB, free: 11.08 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)