Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002454/0.002454, allocations: 216.5 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9557/0.9557, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 66.08 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2091, allocations: 87.88 MB / 0.7189 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003469/0.2125, allocations: 1.481 MB / 0.7203 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2139, allocations: 0.65 MB / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.214, allocations: 0 / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.826e-05/0.2141, allocations: 11.86 kB / 0.721 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.2142, allocations: 15.86 kB / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.2154, allocations: 362 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2157, allocations: 175.6 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.2158, allocations: 4 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2159, allocations: 63.89 kB / 0.7216 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.216, allocations: 51.77 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.2161, allocations: 12 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.2166, allocations: 279.6 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.2167, allocations: 39.91 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.2168, allocations: 51.77 kB / 0.722 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.2173, allocations: 311 kB / 0.7223 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2173, allocations: 4 kB / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2173, allocations: 3.938 kB / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.2174, allocations: 0 / 0.7223 GB, free: 11.38 MB / 0.545 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.0007521/0.2181, allocations: 401.4 kB / 0.7227 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.2182, allocations: 12.03 kB / 0.7227 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.2182, allocations: 38.73 kB / 0.7227 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.2183, allocations: 12.89 kB / 0.7227 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.2186, allocations: 146.4 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2186, allocations: 16.34 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.2186, allocations: 12.31 kB / 0.7229 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2189, allocations: 102.8 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2189, allocations: 3.938 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2189, allocations: 0 / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2189, allocations: 4 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.219, allocations: 47.91 kB / 0.7231 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.2193, allocations: 198.5 kB / 0.7232 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2195, allocations: 104.4 kB / 0.7233 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2196, allocations: 66.67 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2196, allocations: 0 / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.2199, allocations: 146.3 kB / 0.7235 GB, free: 9.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.2199, allocations: 0 / 0.7235 GB, free: 9.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.000467/0.2204, allocations: 214.2 kB / 0.7238 GB, free: 9.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.2205, allocations: 118.8 kB / 0.7239 GB, free: 9.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2206, allocations: 140 kB / 0.724 GB, free: 9.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.2207, allocations: 41.7 kB / 0.724 GB, free: 9.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.2208, allocations: 100.6 kB / 0.7241 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.2208, allocations: 51.59 kB / 0.7242 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.221, allocations: 65.69 kB / 0.7242 GB, free: 9.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2211, allocations: 326.8 kB / 0.7246 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2212, allocations: 56.2 kB / 0.7246 GB, free: 8.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.2216, allocations: 466.5 kB / 0.7251 GB, free: 8.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2218, allocations: 126.5 kB / 0.7252 GB, free: 8.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2218, allocations: 0 / 0.7252 GB, free: 8.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003523/0.2222, allocations: 209.4 kB / 0.7254 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2222, allocations: 4 kB / 0.7254 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.2222, allocations: 7.984 kB / 0.7254 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2222, allocations: 4 kB / 0.7254 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.2223, allocations: 11.94 kB / 0.7254 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2224, allocations: 4.234 kB / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.2226, allocations: 47.84 kB / 0.7255 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2226, allocations: 15.98 kB / 0.7255 GB, free: 7.754 MB / 0.545 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.0001481/0.2228, allocations: 140.5 kB / 0.7256 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.2228, allocations: 15.91 kB / 0.7256 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.2228, allocations: 20.7 kB / 0.7256 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2228, allocations: 0 / 0.7256 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2228, allocations: 0 / 0.7256 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2228, allocations: 4 kB / 0.7256 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.223, allocations: 172.5 kB / 0.7258 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.223, allocations: 4 kB / 0.7258 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.2231, allocations: 15.98 kB / 0.7258 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2231, allocations: 0 / 0.7258 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2231, allocations: 4 kB / 0.7258 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2231, allocations: 3.984 kB / 0.7258 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2231, allocations: 4 kB / 0.7258 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.2234, allocations: 212.1 kB / 0.726 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2235, allocations: 11.91 kB / 0.7261 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2235, allocations: 8 kB / 0.7261 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.2235, allocations: 11.88 kB / 0.7261 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.2236, allocations: 19.97 kB / 0.7261 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2236, allocations: 4 kB / 0.7261 GB, free: 7.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.2237, allocations: 103.3 kB / 0.7262 GB, free: 6.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2237, allocations: 0 / 0.7262 GB, free: 6.934 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003914/0.2241, allocations: 103.7 kB / 0.7263 GB, free: 6.832 MB / 0.545 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.0009112/0.225, allocations: 0.8454 MB / 0.7271 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.2253, allocations: 205 kB / 0.7273 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2254, allocations: 4 kB / 0.7273 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.2254, allocations: 43.92 kB / 0.7274 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.2256, allocations: 19.92 kB / 0.7274 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2279, allocations: 1.828 MB / 0.7292 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.228, allocations: 88.62 kB / 0.7292 GB, free: 3.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.2281, allocations: 13.25 kB / 0.7293 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.2281, allocations: 35.42 kB / 0.7293 GB, free: 3.578 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2281, allocations: 3.938 kB / 0.7293 GB, free: 3.574 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.2655, allocations: 5.346 MB / 0.7345 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.59, allocations: 8.906 kB / 0.7345 GB, free: 14.41 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.5298021864146] Failed to read output from testmodel.py, exit status != 0: 11.709263273980469 11.738340024 11.515592319 Calling exit ...