Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001436/0.001436, allocations: 110.5 kB / 17.08 MB, free: 6.012 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.0015/0.0015, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.576/1.576, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.156/3.156, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 163.8 MB / 1.263 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002368/1.008, allocations: 1.494 MB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001029/1.009, allocations: 0.6851 MB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/1.009, allocations: 0 / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.159e-05/1.009, allocations: 8.953 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/1.009, allocations: 16.25 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/1.01, allocations: 349 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000246/1.01, allocations: 178.5 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/1.01, allocations: 10.3 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/1.01, allocations: 68.61 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/1.011, allocations: 51.83 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/1.011, allocations: 12 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/1.011, allocations: 255.5 kB / 1.266 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/1.011, allocations: 34.92 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/1.011, allocations: 64.53 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/1.012, allocations: 304.1 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.012, allocations: 1.344 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.012, allocations: 0 / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.012, allocations: 0.7812 kB / 1.266 GB, free: 5.945 MB / 0.9981 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.0005432/1.012, allocations: 481.4 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/1.012, allocations: 9.781 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/1.012, allocations: 11.89 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/1.012, allocations: 213.6 kB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.013, allocations: 9.531 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/1.013, allocations: 12.91 kB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/1.013, allocations: 99.83 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.013, allocations: 192 / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.013, allocations: 9.422 kB / 1.267 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.013, allocations: 0.9688 kB / 1.267 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/1.013, allocations: 41.77 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/1.013, allocations: 254.3 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.013, allocations: 110.2 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/1.013, allocations: 70.55 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.013, allocations: 9.234 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/1.014, allocations: 136 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/1.014, allocations: 0 / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004421/1.014, allocations: 221 kB / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.014, allocations: 116.4 kB / 1.268 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/1.014, allocations: 141.9 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/1.014, allocations: 39.83 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/1.014, allocations: 95.59 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/1.014, allocations: 60.36 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/1.015, allocations: 60.11 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/1.015, allocations: 328.2 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/1.015, allocations: 47.95 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/1.015, allocations: 181.2 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/1.015, allocations: 132.6 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.015, allocations: 4.781 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003067/1.015, allocations: 205.4 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.015, allocations: 5.734 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.016, allocations: 8.672 kB / 1.269 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.016, allocations: 1.812 kB / 1.269 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/1.016, allocations: 16.86 kB / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/1.016, allocations: 1.5 kB / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.016, allocations: 46.86 kB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/1.016, allocations: 10.2 kB / 1.269 GB, free: 3.48 MB / 0.9981 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 9.648e-05/1.016, allocations: 143.7 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/1.016, allocations: 17.78 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/1.016, allocations: 17.62 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.016, allocations: 2 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.016, allocations: 0.8438 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.016, allocations: 1.188 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.016, allocations: 213 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.016, allocations: 0.9062 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/1.016, allocations: 9.734 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.016, allocations: 5.656 kB / 1.269 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.016, allocations: 7.453 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.016, allocations: 1.422 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.016, allocations: 0.8438 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/1.017, allocations: 213.7 kB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/1.017, allocations: 90.17 kB / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/1.017, allocations: 6.828 kB / 1.27 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/1.017, allocations: 13.3 kB / 1.27 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/1.017, allocations: 11.53 kB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.017, allocations: 5.109 kB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.692e-05/1.017, allocations: 107 kB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 0 / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004394/1.017, allocations: 102.7 kB / 1.27 GB, free: 2.746 MB / 0.9981 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.000317/1.018, allocations: 214.2 kB / 1.27 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003223/1.018, allocations: 215.6 kB / 1.27 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.018, allocations: 0 / 1.27 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/1.018, allocations: 53.14 kB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/1.018, allocations: 12.66 kB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/1.019, allocations: 285.7 kB / 1.271 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/1.019, allocations: 0.7104 MB / 1.271 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/1.019, allocations: 15.03 kB / 1.271 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.019, allocations: 0 / 1.271 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of Templates: time 0.005784/1.025, allocations: 3.122 MB / 1.274 GB, free: 1.16 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.234545417129993]