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.001303/0.001303, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.00122/0.00122, allocations: 187 kB / 17.34 MB, free: 5.766 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.603/1.603, allocations: 222.9 MB / 241 MB, free: 15.17 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.543/2.543, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.84 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9831/0.985, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002722/0.9878, allocations: 1.501 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.9889, allocations: 0.6884 MB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.989, allocations: 1.188 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.51e-05/0.9891, allocations: 11.59 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.9892, allocations: 13.42 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.9903, allocations: 348 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.9906, allocations: 175.6 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.9907, allocations: 9.781 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.9908, allocations: 69.14 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.9909, allocations: 52.33 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.9909, allocations: 11.75 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.9914, allocations: 250.9 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.9915, allocations: 42.75 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.9916, allocations: 56.78 kB / 1.092 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.9921, allocations: 302.2 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9922, allocations: 0.8125 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9922, allocations: 0 / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.9922, allocations: 0 / 1.092 GB, free: 3.504 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.0006453/0.9928, allocations: 479.9 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9929, allocations: 13.25 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.993, allocations: 12.91 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.9932, allocations: 204.1 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.9932, allocations: 5.828 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.9932, allocations: 12.56 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.9934, allocations: 105.8 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9935, allocations: 1.062 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.9935, allocations: 4.844 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.9935, allocations: 5.5 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.9936, allocations: 50.59 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.9939, allocations: 241.7 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.994, allocations: 106.3 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.9942, allocations: 77.19 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9942, allocations: 6.094 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.9945, allocations: 143.4 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.9945, allocations: 1.062 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004771/0.995, allocations: 224.2 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.9951, allocations: 112.7 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.9952, allocations: 144.3 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.9952, allocations: 35.5 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.9953, allocations: 95.47 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.9954, allocations: 56.16 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.9955, allocations: 59.89 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.9955, allocations: 332.2 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.9957, allocations: 51.81 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.9959, allocations: 181.2 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.9961, allocations: 133.6 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9961, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003455/0.9965, allocations: 201 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.9965, allocations: 5.953 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.9965, allocations: 5.047 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9966, allocations: 1.688 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9967, allocations: 16.34 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9967, allocations: 2.469 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.9969, allocations: 51.39 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.997, allocations: 5.812 kB / 1.095 GB, free: 1.047 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.0001176/0.9971, allocations: 139.6 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.9971, allocations: 18.22 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.9972, allocations: 13.17 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9972, allocations: 2.5 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.9972, allocations: 1.094 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9972, allocations: 1.438 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.9974, allocations: 207.9 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9974, allocations: 5.891 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.9975, allocations: 13.2 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9975, allocations: 1.875 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.9975, allocations: 7.453 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9975, allocations: 1.359 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9975, allocations: 1.625 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.9978, allocations: 213.5 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.9979, allocations: 90.25 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.9979, allocations: 3.109 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.998, allocations: 12 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.998, allocations: 12.88 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.998, allocations: 8.484 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.9981, allocations: 102.6 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9981, allocations: 0 / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005305/0.9987, allocations: 111.5 kB / 1.096 GB, free: 320 kB / 0.8575 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.0003649/0.999, allocations: 209.4 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.9994, allocations: 214.5 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9994, allocations: 0 / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.9995, allocations: 61.55 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.9997, allocations: 11.67 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/1, allocations: 282.3 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.001, allocations: 0.7065 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/1.001, allocations: 14.69 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.001, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.007833/1.009, allocations: 3.131 MB / 1.1 GB, free: 14.72 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