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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7603/0.7603, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.814/1.814, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 98.53 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.503e-05/6.507e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 82.32 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8841/1.153, allocations: 111.7 MB / 0.7496 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.153, allocations: 75.05 kB / 0.7496 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01393/1.167, allocations: 5.044 MB / 0.7546 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/1.167, allocations: 0 / 0.7546 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.167, allocations: 0 / 0.7546 GB, free: 27.29 MB / 0.5105 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.0007815/1.168, allocations: 459.4 kB / 0.755 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.168, allocations: 7.75 kB / 0.755 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/1.168, allocations: 41.17 kB / 0.7551 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/1.168, allocations: 15.53 kB / 0.7551 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/1.168, allocations: 218.1 kB / 0.7553 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.168, allocations: 7.531 kB / 0.7553 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/1.168, allocations: 15.03 kB / 0.7553 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/1.169, allocations: 105.7 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.169, allocations: 1.922 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.169, allocations: 3.844 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/1.169, allocations: 0 / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/1.169, allocations: 44.64 kB / 0.7555 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/1.169, allocations: 264.2 kB / 0.7557 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/1.169, allocations: 101.3 kB / 0.7558 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/1.169, allocations: 75.66 kB / 0.7559 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.169, allocations: 7.844 kB / 0.7559 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.17, allocations: 134.6 kB / 0.756 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/1.17, allocations: 3.938 kB / 0.756 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0003814/1.17, allocations: 180.7 kB / 0.7562 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/1.17, allocations: 120.5 kB / 0.7563 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.17, allocations: 127.7 kB / 0.7564 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/1.17, allocations: 39.3 kB / 0.7565 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/1.17, allocations: 100.4 kB / 0.7566 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/1.17, allocations: 54.67 kB / 0.7566 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/1.171, allocations: 7.594 kB / 0.7566 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.171, allocations: 330.2 kB / 0.7569 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.171, allocations: 54.72 kB / 0.757 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/1.171, allocations: 198.4 kB / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/1.171, allocations: 72.11 kB / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.171, allocations: 0 / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003077/1.171, allocations: 195.7 kB / 0.7574 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.171, allocations: 8.844 kB / 0.7574 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.172, allocations: 6.562 kB / 0.7574 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.172, allocations: 3.938 kB / 0.7574 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/1.172, allocations: 13.97 kB / 0.7575 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.172, allocations: 3.969 kB / 0.7575 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/1.172, allocations: 52.92 kB / 0.7575 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/1.172, allocations: 11.38 kB / 0.7575 GB, free: 25.21 MB / 0.5105 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.172, allocations: 136.4 kB / 0.7577 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/1.172, allocations: 11.66 kB / 0.7577 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/1.172, allocations: 14.91 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.172, allocations: 2.672 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.172, allocations: 7.875 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.172, allocations: 0 / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/1.172, allocations: 213.1 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.172, allocations: 4 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/1.172, allocations: 14.08 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.172, allocations: 0 / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.172, allocations: 3.875 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.172, allocations: 7.078 kB / 0.7579 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.172, allocations: 0 / 0.7579 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/1.173, allocations: 238.6 kB / 0.7581 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/1.173, allocations: 88.83 kB / 0.7582 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/1.173, allocations: 0 / 0.7582 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/1.173, allocations: 13.98 kB / 0.7582 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/1.173, allocations: 10.58 kB / 0.7583 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/1.173, allocations: 7.25 kB / 0.7583 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.105e-05/1.173, allocations: 113 kB / 0.7584 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.753e-06/1.173, allocations: 0 / 0.7584 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004581/1.174, allocations: 115.2 kB / 0.7585 GB, free: 24.54 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/1.175, allocations: 1.012 MB / 0.7595 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003116/1.175, allocations: 215.6 kB / 0.7597 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.175, allocations: 0 / 0.7597 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/1.175, allocations: 58.84 kB / 0.7597 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/1.175, allocations: 11.69 kB / 0.7597 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/1.176, allocations: 276.1 kB / 0.76 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.176, allocations: 0.7195 MB / 0.7607 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.972e-05/1.176, allocations: 15.47 kB / 0.7607 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/1.176, allocations: 33.62 kB / 0.7608 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/1.176, allocations: 0 / 0.7608 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/1.195, allocations: 4.233 MB / 0.7649 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.196, allocations: 168.5 kB / 0.765 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.25, allocations: 0 / 0.765 GB, free: 20.55 MB / 0.5105 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/linux/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)