Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_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.0009856/0.0009855, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001165/0.001166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005289, allocations: 13.41 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001392/0.2171, allocations: 1.186 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.218, allocations: 0.6168 MB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.218, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.91e-05/0.2181, allocations: 7.922 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.2181, allocations: 15.97 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.2189, allocations: 269.6 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2191, allocations: 103.8 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.2192, allocations: 11.98 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.2192, allocations: 63.83 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.2193, allocations: 51.81 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2194, allocations: 8 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.2196, allocations: 195.8 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.2197, allocations: 31.89 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.2197, allocations: 53.62 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.22, allocations: 203.8 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.22, allocations: 0 / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.22, allocations: 0 / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.22, allocations: 8 kB / 0.79 GB, free: 9.086 MB / 0.6075 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.0005324/0.2206, allocations: 442.9 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2206, allocations: 12.03 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2207, allocations: 38.55 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.2207, allocations: 19.81 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2209, allocations: 218.7 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2209, allocations: 12 kB / 0.7907 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.221, allocations: 8 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2212, allocations: 100.2 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2212, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2212, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2212, allocations: 3.984 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.2213, allocations: 43.98 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.2215, allocations: 251.3 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2217, allocations: 107.9 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2217, allocations: 11.94 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.2219, allocations: 140.9 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.2219, allocations: 0 / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0004627/0.2224, allocations: 452.7 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.2225, allocations: 118.8 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2226, allocations: 140.9 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2226, allocations: 33.7 kB / 0.792 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2227, allocations: 108.7 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.2228, allocations: 51.34 kB / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.2228, allocations: 4 kB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.2229, allocations: 326.8 kB / 0.7925 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.223, allocations: 48.25 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2231, allocations: 180.5 kB / 0.7927 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.2233, allocations: 72 kB / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2233, allocations: 0 / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002611/0.2235, allocations: 193.3 kB / 0.793 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2236, allocations: 8 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.2236, allocations: 4 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2236, allocations: 0 / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.2237, allocations: 23.92 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2237, allocations: 3.938 kB / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.224, allocations: 55.8 kB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.224, allocations: 8 kB / 0.7931 GB, free: 5.531 MB / 0.6075 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2241, allocations: 148 kB / 0.7932 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.2241, allocations: 11.81 kB / 0.7932 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2242, allocations: 12.72 kB / 0.7932 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2242, allocations: 0 / 0.7932 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2242, allocations: 4 kB / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2242, allocations: 0 / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.2243, allocations: 205.5 kB / 0.7934 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2244, allocations: 3.953 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.2244, allocations: 19.98 kB / 0.7934 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2244, allocations: 4 kB / 0.7935 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2244, allocations: 0 / 0.7935 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.2244, allocations: 4 kB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2244, allocations: 0 / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.2247, allocations: 240.3 kB / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2248, allocations: 92.94 kB / 0.7938 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2248, allocations: 4 kB / 0.7938 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.2248, allocations: 4 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.2249, allocations: 11.98 kB / 0.7938 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2249, allocations: 8 kB / 0.7938 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.225, allocations: 115.1 kB / 0.7939 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.225, allocations: 4 kB / 0.7939 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003598/0.2254, allocations: 104 kB / 0.794 GB, free: 4.441 MB / 0.6075 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 (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.0006951/0.2261, allocations: 0.9986 MB / 0.795 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.2264, allocations: 221 kB / 0.7952 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2264, allocations: 3.938 kB / 0.7952 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.2265, allocations: 55.97 kB / 0.7953 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.2266, allocations: 15.14 kB / 0.7953 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2278, allocations: 1.152 MB / 0.7964 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.228, allocations: 0.7126 MB / 0.7971 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.2281, allocations: 8.891 kB / 0.7971 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2281, allocations: 35.42 kB / 0.7971 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2281, allocations: 0 / 0.7971 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.2442, allocations: 4.247 MB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000403/0.2447, allocations: 206 kB / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.049, allocations: 0 / 0.8015 GB, free: 12.81 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: