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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.002054/0.002054, allocations: 116.6 kB / 16.37 MB, free: 6 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.002431/0.00243, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.12 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002887/0.3132, allocations: 1.491 MB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3143, allocations: 0.6827 MB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3144, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.3145, allocations: 7.922 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.3145, allocations: 23.84 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008923/0.3154, allocations: 345.9 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3156, allocations: 167.6 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3157, allocations: 19.97 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.3158, allocations: 71.77 kB / 1.022 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.3159, allocations: 55.75 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3159, allocations: 16 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.3162, allocations: 255.7 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.3163, allocations: 35.89 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.3164, allocations: 59.78 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.3168, allocations: 299.3 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3168, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3168, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3168, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 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.000595/0.3174, allocations: 478.9 kB / 1.023 GB, free: 5.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3174, allocations: 12.03 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3175, allocations: 16.73 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3177, allocations: 212.1 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3178, allocations: 8.375 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.3178, allocations: 8.375 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.318, allocations: 95.3 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.318, allocations: 192 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3181, allocations: 11.94 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3181, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.3182, allocations: 47.91 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.3185, allocations: 247.4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3186, allocations: 111.8 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.3187, allocations: 70.7 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3188, allocations: 0 / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.319, allocations: 135.3 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.319, allocations: 4 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0004187/0.3194, allocations: 225.2 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.3195, allocations: 122.8 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3196, allocations: 133.8 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.3197, allocations: 41.7 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3198, allocations: 100.6 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3198, allocations: 51.27 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.3199, allocations: 61.69 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.32, allocations: 326.8 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.3201, allocations: 60.11 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.3203, allocations: 176.5 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3205, allocations: 138.5 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3205, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002793/0.3208, allocations: 205.2 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3208, allocations: 4 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.3209, allocations: 4 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3209, allocations: 4 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.321, allocations: 15.92 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.321, allocations: 4 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3212, allocations: 47.8 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3212, allocations: 8 kB / 1.025 GB, free: 2.91 MB / 0.795 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.0001096/0.3213, allocations: 136 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.3214, allocations: 15.83 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.3214, allocations: 16.72 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3214, allocations: 4 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3214, allocations: 0 / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3214, allocations: 4 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3216, allocations: 213.4 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3216, allocations: 7.938 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3217, allocations: 12 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3217, allocations: 0 / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3217, allocations: 4 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3217, allocations: 3.984 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3217, allocations: 0 / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.322, allocations: 214.5 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.322, allocations: 89.02 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3221, allocations: 3.984 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.3221, allocations: 7.938 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3222, allocations: 11.98 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3222, allocations: 4 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.3223, allocations: 106.2 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3223, allocations: 4 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003222/0.3226, allocations: 107.9 kB / 1.026 GB, free: 1.867 MB / 0.795 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.0002813/0.3229, allocations: 203.8 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.3232, allocations: 218.1 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3232, allocations: 0 / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.3233, allocations: 59.91 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.3235, allocations: 9.875 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3239, allocations: 246.6 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3242, allocations: 0.7164 MB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.3242, allocations: 8.891 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.3243, allocations: 15.44 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3243, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of Templates: time 0.005854/0.3301, allocations: 3.096 MB / 1.031 GB, free: 13.26 MB / 0.8106 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches