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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001289/0.001289, allocations: 192.8 kB / 16.13 MB, free: 6.645 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.586 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 2.808/2.808, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001998, allocations: 55.91 kB / 0.8685 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.915, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002835/0.9179, allocations: 1.556 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.9191, allocations: 0.7321 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.9192, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.84e-05/0.9193, allocations: 7.922 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.9194, allocations: 15.91 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.9202, allocations: 283.2 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.9205, allocations: 163.7 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.9205, allocations: 15.92 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.9206, allocations: 59.91 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.9207, allocations: 47.73 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.9207, allocations: 8 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.9211, allocations: 239.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.9212, allocations: 31.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.9213, allocations: 63.69 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.9216, allocations: 301.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9217, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9217, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.9217, allocations: 4 kB / 1.02 GB, free: 15.3 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.0007789/0.9225, allocations: 471 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9225, allocations: 12.03 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.9226, allocations: 16.75 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.9228, allocations: 204.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.9228, allocations: 4.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.9229, allocations: 12.38 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9231, allocations: 102.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9231, allocations: 192 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.9231, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.9231, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/0.9232, allocations: 47.91 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.9235, allocations: 251.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.9237, allocations: 107.9 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.9238, allocations: 74.67 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.9238, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.9242, allocations: 142.5 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.9242, allocations: 3.938 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004741/0.9246, allocations: 222.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.9248, allocations: 110.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.9249, allocations: 143.4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.925, allocations: 33.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.9251, allocations: 92.7 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.9252, allocations: 71.11 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.9253, allocations: 57.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.9255, allocations: 334.8 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9256, allocations: 52.12 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.9258, allocations: 180.5 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.926, allocations: 134.5 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.926, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003123/0.9264, allocations: 197.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9264, allocations: 8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.9264, allocations: 4.141 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9264, allocations: 3.984 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.9266, allocations: 19.98 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.9266, allocations: 7.875 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.9268, allocations: 51.8 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.9268, allocations: 4 kB / 1.023 GB, free: 11.83 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.0001553/0.927, allocations: 140.1 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.927, allocations: 11.84 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.9271, allocations: 12.72 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9271, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.9271, allocations: 8 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9271, allocations: 3.984 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.9273, allocations: 209.5 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9273, allocations: 0 / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.9274, allocations: 15.92 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9274, allocations: 4 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.9274, allocations: 4 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.9274, allocations: 4 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9274, allocations: 0 / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.9278, allocations: 217.3 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.9278, allocations: 92.89 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.9279, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.9279, allocations: 11.94 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.928, allocations: 7.984 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.928, allocations: 11.98 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001053/0.9282, allocations: 101.6 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9282, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004317/0.9286, allocations: 107.9 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.0004351/0.929, allocations: 203.7 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.9295, allocations: 217 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9295, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.9296, allocations: 52.11 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.9298, allocations: 11.98 kB / 1.024 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.9305, allocations: 282.4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.931, allocations: 0.7165 MB / 1.025 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.931, allocations: 12.88 kB / 1.025 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.9311, allocations: 11.44 kB / 1.025 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.9311, allocations: 4 kB / 1.025 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.007933/0.939, allocations: 2.942 MB / 1.028 GB, free: 6.293 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=480 -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