Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 196.6 kB / 19.41 MB, free: 3.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.031/3.031, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.104 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8586, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002763/0.8614, allocations: 1.487 MB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.8626, allocations: 0.6983 MB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.8627, allocations: 0 / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.636e-05/0.8627, allocations: 11.88 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.8628, allocations: 11.86 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.8638, allocations: 357.9 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.8641, allocations: 171.6 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.8641, allocations: 11.98 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.8642, allocations: 63.89 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.834e-05/0.8643, allocations: 55.75 kB / 1.272 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.8643, allocations: 12 kB / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.8647, allocations: 251.8 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.8648, allocations: 39.88 kB / 1.272 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.8649, allocations: 59.73 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.8654, allocations: 308.9 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8654, allocations: 0 / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8654, allocations: 0 / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.8654, allocations: 3.938 kB / 1.272 GB, free: 1.688 MB / 0.9669 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.0007644/0.8662, allocations: 474.5 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8662, allocations: 16.02 kB / 1.273 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.8663, allocations: 34.75 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.8664, allocations: 12.89 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.8666, allocations: 216.2 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.8666, allocations: 12.38 kB / 1.273 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.8667, allocations: 8.375 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.8669, allocations: 102.8 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.8669, allocations: 11.86 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.8669, allocations: 4 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8669, allocations: 0 / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.867, allocations: 51.84 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.8673, allocations: 243.4 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.8675, allocations: 103.9 kB / 1.273 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.8676, allocations: 58.67 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.8676, allocations: 11.98 kB / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.868, allocations: 136.4 kB / 1.274 GB, free: 0 / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.868, allocations: 0 / 1.274 GB, free: 0 / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0004804/0.8685, allocations: 214.2 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.8685, allocations: 114.8 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.8687, allocations: 145.8 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.8687, allocations: 33.7 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.8688, allocations: 92.7 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/0.8689, allocations: 67.5 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.869, allocations: 65.62 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8692, allocations: 330.8 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.8693, allocations: 44.27 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8695, allocations: 185.8 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.8697, allocations: 126.5 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8697, allocations: 4 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003385/0.87, allocations: 213.2 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8701, allocations: 8 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.8701, allocations: 7.984 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8701, allocations: 0 / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.8702, allocations: 12 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8702, allocations: 0 / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.8704, allocations: 51.78 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.8704, allocations: 11.98 kB / 1.275 GB, free: 14.18 MB / 0.9825 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.0001395/0.8706, allocations: 144.7 kB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.8706, allocations: 11.91 kB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.8706, allocations: 20.7 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8707, allocations: 0 / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.8707, allocations: 4 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8707, allocations: 0 / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.8709, allocations: 213.4 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8709, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.8709, allocations: 11.94 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8709, allocations: 8 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.8709, allocations: 4 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8709, allocations: 4.234 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8709, allocations: 3.938 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.8712, allocations: 214.6 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.8713, allocations: 89.02 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.8713, allocations: 8 kB / 1.276 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.8714, allocations: 19.86 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.8715, allocations: 4 kB / 1.276 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.8715, allocations: 7.984 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.358e-05/0.8716, allocations: 109.5 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8716, allocations: 0 / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000432/0.872, allocations: 107.7 kB / 1.276 GB, free: 13.11 MB / 0.9825 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.0008705/0.8729, allocations: 0.8441 MB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.8732, allocations: 205 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8732, allocations: 0 / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.8733, allocations: 47.92 kB / 1.277 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.8735, allocations: 18.19 kB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.8757, allocations: 1.821 MB / 1.279 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.8761, allocations: 0.7126 MB / 1.28 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.978e-05/0.8762, allocations: 20.8 kB / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.8762, allocations: 35.42 kB / 1.28 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/0.8762, allocations: 0 / 1.28 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.903, allocations: 4.636 MB / 1.284 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.38, allocations: 0 / 1.284 GB, free: 4.77 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.167325333226472]