Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001534/0.001534, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.758/1.758, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.331/3.331, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.903/0.905, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003593/0.9087, allocations: 1.534 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.9101, allocations: 0.7398 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.9101, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.206e-05/0.9102, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.9103, allocations: 15.86 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.9112, allocations: 292 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.9116, allocations: 163.6 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.9117, allocations: 15.97 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.9118, allocations: 63.86 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.912, allocations: 47.73 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.912, allocations: 8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.9126, allocations: 239.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.9127, allocations: 27.91 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.9128, allocations: 59.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.9134, allocations: 301.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.9134, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9134, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9134, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 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.0007941/0.9142, allocations: 467 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9143, allocations: 8.031 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.9144, allocations: 16.75 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.9146, allocations: 214.6 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.9147, allocations: 4.375 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.9147, allocations: 20.36 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.9149, allocations: 104.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9149, allocations: 192 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.915, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.915, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.9151, allocations: 47.91 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.9155, allocations: 251.3 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.9156, allocations: 107.9 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.9158, allocations: 74.59 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.9158, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/0.9162, allocations: 141.8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.9162, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0005893/0.9168, allocations: 217.3 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.917, allocations: 118.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.9172, allocations: 133.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.9173, allocations: 37.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9175, allocations: 100.7 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.9176, allocations: 59.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.9178, allocations: 69.56 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002289/0.918, allocations: 326.8 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.9182, allocations: 52.11 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.9185, allocations: 184.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.9188, allocations: 126.6 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9188, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003817/0.9192, allocations: 209.2 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.9192, allocations: 9.406 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.9193, allocations: 8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.9193, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.9195, allocations: 15.94 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9195, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.9198, allocations: 51.78 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.9198, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 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.0002204/0.9201, allocations: 140.2 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.9201, allocations: 15.84 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.9202, allocations: 20.7 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9202, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.9202, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.9202, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.9205, allocations: 209.4 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.9205, allocations: 0 / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.9206, allocations: 8 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9206, allocations: 0 / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.9206, allocations: 8 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9207, allocations: 0 / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.9207, allocations: 11.94 kB / 1.023 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.9211, allocations: 210.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.9212, allocations: 92.95 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.9212, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.9213, allocations: 15.92 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.9214, allocations: 11.98 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.9214, allocations: 4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001169/0.9215, allocations: 104.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9215, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005352/0.922, allocations: 99.92 kB / 1.024 GB, free: 10.78 MB / 0.7794 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.0004376/0.9225, allocations: 208.8 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.923, allocations: 209 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 0.0001672/0.9231, allocations: 4 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.9233, allocations: 67.84 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.9235, allocations: 12.56 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.9243, allocations: 278.8 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.9248, allocations: 0.7087 MB / 1.025 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.585e-05/0.9249, allocations: 16.81 kB / 1.025 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.9249, allocations: 15.44 kB / 1.025 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.9249, allocations: 0 / 1.025 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of Templates: time 0.007902/0.9328, allocations: 2.943 MB / 1.028 GB, free: 6.285 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches