Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001307/0.001307, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001267/0.001267, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.695/1.695, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.17 kB / 0.814 GB, free: 32.84 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4112, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002821/0.414, allocations: 1.495 MB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.4153, allocations: 0.6929 MB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.4153, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.4154, allocations: 15.86 kB / 0.9533 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.4155, allocations: 7.875 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.4165, allocations: 342.2 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.4168, allocations: 175.6 kB / 0.9538 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.4169, allocations: 15.98 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.417, allocations: 75.75 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.417, allocations: 39.84 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.4171, allocations: 12 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.4175, allocations: 251.7 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.4176, allocations: 35.91 kB / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.4177, allocations: 63.7 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.4181, allocations: 307.2 kB / 0.9545 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4181, allocations: 3.984 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4181, allocations: 4 kB / 0.9545 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.4181, allocations: 0 / 0.9545 GB, free: 4.57 MB / 0.7325 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.0007622/0.4189, allocations: 476 kB / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4189, allocations: 8.031 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.419, allocations: 16.75 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4193, allocations: 204.2 kB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4193, allocations: 8.312 kB / 0.9552 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.4193, allocations: 16.31 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4195, allocations: 100.8 kB / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4196, allocations: 192 / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.4196, allocations: 3.938 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4196, allocations: 0 / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4197, allocations: 51.91 kB / 0.9554 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.42, allocations: 247.3 kB / 0.9556 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4202, allocations: 111.9 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.4203, allocations: 66.67 kB / 0.9558 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4203, allocations: 4 kB / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.4206, allocations: 151.3 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.4206, allocations: 0 / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0004075/0.421, allocations: 218.1 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.4211, allocations: 110.8 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4213, allocations: 148.4 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.4213, allocations: 37.7 kB / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.4214, allocations: 100.6 kB / 0.9565 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.4215, allocations: 63.23 kB / 0.9566 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.4216, allocations: 57.7 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.4218, allocations: 330.8 kB / 0.957 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.4219, allocations: 48.27 kB / 0.957 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4222, allocations: 181.5 kB / 0.9572 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4223, allocations: 130.5 kB / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4223, allocations: 0 / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002769/0.4226, allocations: 201.2 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4227, allocations: 4 kB / 0.9575 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.4227, allocations: 4 kB / 0.9575 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4227, allocations: 8 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4228, allocations: 19.92 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4228, allocations: 4 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.423, allocations: 43.8 kB / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.4231, allocations: 8 kB / 0.9576 GB, free: 1.113 MB / 0.7325 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.000128/0.4232, allocations: 138 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.4232, allocations: 19.84 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.4233, allocations: 8.719 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4233, allocations: 11.94 kB / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4233, allocations: 0 / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4233, allocations: 3.984 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.4235, allocations: 213.4 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4235, allocations: 0 / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.4235, allocations: 11.98 kB / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4235, allocations: 0 / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4236, allocations: 8 kB / 0.958 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4236, allocations: 0 / 0.958 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4236, allocations: 4 kB / 0.958 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4239, allocations: 220.5 kB / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.4239, allocations: 85.02 kB / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.424, allocations: 4 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.424, allocations: 11.94 kB / 0.9583 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.4241, allocations: 11.98 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4241, allocations: 8 kB / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.406e-05/0.4242, allocations: 105.6 kB / 0.9584 GB, free: 168 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4242, allocations: 0 / 0.9584 GB, free: 168 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003692/0.4246, allocations: 99.92 kB / 0.9585 GB, free: 68 kB / 0.7325 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.0003543/0.4249, allocations: 203.3 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4253, allocations: 228.8 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4253, allocations: 0 / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.4254, allocations: 63.92 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.4256, allocations: 8.094 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.4261, allocations: 256.5 kB / 0.9592 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.4265, allocations: 0.7045 MB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.4266, allocations: 16.88 kB / 0.9599 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.4266, allocations: 11.44 kB / 0.9599 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.4266, allocations: 4 kB / 0.9599 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.006982/0.4336, allocations: 3.075 MB / 0.9629 GB, free: 11.45 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches