Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, 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.001866/0.001867, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.681/1.681, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.247/3.247, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9066, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003303/0.9099, allocations: 1.542 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.9113, allocations: 0.7321 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.9114, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.9115, allocations: 7.922 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.9116, allocations: 11.92 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.9125, allocations: 282.2 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.9127, allocations: 163.6 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.9128, allocations: 20.02 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.9129, allocations: 59.78 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.913, allocations: 47.81 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.9131, allocations: 8 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.9135, allocations: 239.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.9136, allocations: 35.89 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.9137, allocations: 55.72 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.9141, allocations: 297.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9141, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9141, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9141, allocations: 0 / 1.02 GB, free: 15.26 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.0007671/0.9149, allocations: 475 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.915, allocations: 8.031 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.915, allocations: 16.75 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.9153, allocations: 204.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.9154, allocations: 12.31 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.9154, allocations: 8.375 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.9156, allocations: 100.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9157, allocations: 192 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.9157, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.9157, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.9158, allocations: 47.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.9162, allocations: 251.3 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.9163, allocations: 107.8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.9165, allocations: 74.69 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.9165, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.9168, allocations: 141.8 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.9168, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0005066/0.9173, allocations: 218.1 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.9175, allocations: 122.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.9176, allocations: 136.3 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.9177, allocations: 45.69 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.9178, allocations: 96.69 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.9179, allocations: 59.2 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.918, allocations: 69.62 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.9182, allocations: 326.8 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.9183, allocations: 52.12 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.9186, allocations: 180.5 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.9188, allocations: 130.5 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9188, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003472/0.9192, allocations: 209.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.9192, allocations: 8 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.9193, allocations: 8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9193, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.9194, allocations: 19.92 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9194, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.9197, allocations: 50.75 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.9197, allocations: 8 kB / 1.023 GB, free: 11.79 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.0001872/0.9199, allocations: 140 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.9199, allocations: 15.84 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.92, allocations: 16.72 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.92, allocations: 3.938 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.92, allocations: 4 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.92, allocations: 0 / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.9203, allocations: 209.4 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9203, allocations: 0 / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.9204, allocations: 11.98 kB / 1.023 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9204, allocations: 4 kB / 1.023 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.9204, allocations: 0 / 1.023 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.9204, allocations: 4 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9204, allocations: 4 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.9208, allocations: 214.4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.9209, allocations: 92.94 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.9209, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.921, allocations: 7.938 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.921, allocations: 15.98 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.9211, allocations: 4.141 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.9212, allocations: 108.7 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9212, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004596/0.9216, allocations: 103.9 kB / 1.024 GB, free: 10.74 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.0004196/0.9221, allocations: 199.9 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.9225, allocations: 220.9 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.9225, allocations: 4 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.9226, allocations: 59.86 kB / 1.024 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.9228, allocations: 8 kB / 1.024 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.9235, allocations: 278.4 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.924, allocations: 0.7048 MB / 1.025 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.769e-05/0.9241, allocations: 12.88 kB / 1.025 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.9241, allocations: 11.44 kB / 1.025 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.9241, allocations: 0 / 1.025 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.007502/0.9316, allocations: 2.96 MB / 1.028 GB, free: 6.246 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches