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.00117/0.00117, 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.001149/0.001149, allocations: 194.3 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9753/0.9753, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001696, allocations: 59.91 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1968, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003264/0.2001, allocations: 1.471 MB / 0.5859 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2015, allocations: 0.6906 MB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.2015, allocations: 0 / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2017, allocations: 11.86 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.2018, allocations: 15.86 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.2029, allocations: 349.6 kB / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.2032, allocations: 167.6 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.2033, allocations: 7.984 kB / 0.5871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2035, allocations: 71.83 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2036, allocations: 51.77 kB / 0.5872 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.2037, allocations: 12 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.2041, allocations: 247.8 kB / 0.5875 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.2042, allocations: 43.88 kB / 0.5875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.2043, allocations: 59.73 kB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.2048, allocations: 303.5 kB / 0.5879 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2048, allocations: 4 kB / 0.5879 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2048, allocations: 0 / 0.5879 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.2048, allocations: 0 / 0.5879 GB, free: 0.9648 MB / 494.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.0006811/0.2055, allocations: 475 kB / 0.5883 GB, free: 460 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2056, allocations: 12.03 kB / 0.5883 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.2056, allocations: 42.67 kB / 0.5884 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.2057, allocations: 16.84 kB / 0.5884 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.206, allocations: 212.1 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2061, allocations: 4.375 kB / 0.5886 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2061, allocations: 12.38 kB / 0.5886 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2063, allocations: 104.7 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2064, allocations: 3.938 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2064, allocations: 3.984 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2064, allocations: 0 / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.2065, allocations: 51.92 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.2068, allocations: 247.3 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.207, allocations: 107.9 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2072, allocations: 78.67 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2072, allocations: 0 / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.2075, allocations: 143.7 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.2075, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004964/0.208, allocations: 226 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.2081, allocations: 106.8 kB / 0.5896 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2082, allocations: 147.8 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2083, allocations: 37.64 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2084, allocations: 96.7 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.2085, allocations: 55.33 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2086, allocations: 61.69 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.2088, allocations: 326.8 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.2089, allocations: 52.27 kB / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2092, allocations: 176.5 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.2094, allocations: 132.4 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2094, allocations: 0 / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003137/0.2097, allocations: 203.5 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2097, allocations: 8 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.2097, allocations: 7.984 kB / 0.5909 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2098, allocations: 0 / 0.5909 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.2099, allocations: 19.94 kB / 0.5909 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2099, allocations: 0 / 0.5909 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2101, allocations: 55.64 kB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2102, allocations: 8 kB / 0.591 GB, free: 13.45 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 0.0001585/0.2103, allocations: 144.1 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2103, allocations: 11.91 kB / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2104, allocations: 16.7 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2104, allocations: 0 / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2104, allocations: 0 / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2104, allocations: 4 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.2106, allocations: 205.4 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2106, allocations: 11.92 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.2107, allocations: 12 kB / 0.5913 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2107, allocations: 0 / 0.5913 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2107, allocations: 4 kB / 0.5913 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2107, allocations: 3.938 kB / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2107, allocations: 4 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.211, allocations: 210.6 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.2111, allocations: 92.86 kB / 0.5916 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2111, allocations: 8 kB / 0.5916 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.2112, allocations: 11.92 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.2112, allocations: 4 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2113, allocations: 11.98 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.2113, allocations: 105.5 kB / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.5918 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003923/0.2117, allocations: 95.98 kB / 0.5919 GB, free: 12.41 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.0007761/0.2125, allocations: 0.8418 MB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2129, allocations: 225 kB / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2129, allocations: 0 / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.213, allocations: 55.92 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.2132, allocations: 15.84 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.2152, allocations: 1.808 MB / 0.5947 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2155, allocations: 0.7084 MB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.391e-05/0.2156, allocations: 8.891 kB / 0.5954 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.2157, allocations: 39.42 kB / 0.5955 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2157, allocations: 0 / 0.5955 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2386, allocations: 4.567 MB / 0.5999 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.474, allocations: 18.86 kB / 0.6 GB, free: 4.117 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)