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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001328/0.001329, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001395/0.001395, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.479/1.479, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 59.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003196/1.113, allocations: 1.493 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001286/1.114, allocations: 0.6855 MB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/1.114, allocations: 4.969 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.957e-05/1.114, allocations: 12.02 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/1.114, allocations: 13.09 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/1.116, allocations: 348.2 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000295/1.116, allocations: 171.9 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/1.116, allocations: 9.125 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/1.116, allocations: 72.78 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.116, allocations: 53.25 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/1.116, allocations: 11.34 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/1.117, allocations: 251 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/1.117, allocations: 39.28 kB / 1.092 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/1.117, allocations: 56.94 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005389/1.117, allocations: 301.3 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.117, allocations: 1.656 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/1.117, allocations: 0 / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.117, allocations: 4 kB / 1.092 GB, free: 3.496 MB / 0.8575 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.0006813/1.118, allocations: 480.1 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.118, allocations: 8.5 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/1.118, allocations: 17.53 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/1.118, allocations: 203.1 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.118, allocations: 6.438 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/1.119, allocations: 12.5 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/1.119, allocations: 107.4 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.119, allocations: 192 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.119, allocations: 5.391 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.119, allocations: 1.656 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/1.119, allocations: 52.89 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/1.119, allocations: 242.6 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/1.119, allocations: 110.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/1.119, allocations: 70.09 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.119, allocations: 5.438 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/1.12, allocations: 149 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/1.12, allocations: 0 / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004733/1.12, allocations: 222.5 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.12, allocations: 111.8 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.12, allocations: 146.4 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/1.12, allocations: 35.16 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.121, allocations: 99.72 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/1.121, allocations: 59.86 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.121, allocations: 60.31 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/1.121, allocations: 328.7 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.121, allocations: 51.64 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.121, allocations: 181.2 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/1.121, allocations: 129.8 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.121, allocations: 0 / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003363/1.122, allocations: 197.5 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.122, allocations: 4.875 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/1.122, allocations: 5.422 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.122, allocations: 9.656 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.122, allocations: 16.23 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.122, allocations: 1.719 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/1.122, allocations: 46.11 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/1.122, allocations: 6.906 kB / 1.095 GB, free: 1.039 MB / 0.8575 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.0001175/1.122, allocations: 140 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/1.122, allocations: 17.56 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/1.123, allocations: 21.47 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.123, allocations: 5.453 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.123, allocations: 0.6875 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/1.123, allocations: 86.55 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.123, allocations: 6.953 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/1.123, allocations: 8.766 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.123, allocations: 16.02 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003757/1.123, allocations: 415.3 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003771/1.124, allocations: 0.4943 MB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001052/1.124, allocations: 50.98 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001165/1.124, allocations: 106.9 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of Backend: time 7.11e-07/1.124, allocations: 0 / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.125, allocations: 357.7 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007524/1.126, allocations: 0.6408 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.009057/1.135, allocations: 3.198 MB / 1.1 GB, free: 14.79 MB / 0.8731 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 -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