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.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.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.0009967/0.0009966, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009351/0.009352, allocations: 169.9 kB / 16.26 MB, free: 6.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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.179/3.179, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 8 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9196, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002147/0.9218, allocations: 1.199 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.9233, allocations: 0.7088 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.9234, allocations: 7.938 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.344e-05/0.9235, allocations: 7.922 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.9236, allocations: 11.92 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.9247, allocations: 286.9 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.925, allocations: 163.6 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.925, allocations: 15.97 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.9252, allocations: 67.83 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.9253, allocations: 43.83 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.9253, allocations: 8 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.9258, allocations: 235.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.9259, allocations: 43.88 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.926, allocations: 85.42 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.9266, allocations: 285.3 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9266, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9266, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9266, allocations: 0 / 1.026 GB, free: 12.71 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.0007962/0.9274, allocations: 459 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.9275, allocations: 8.031 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.9276, allocations: 12.84 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.9278, allocations: 208.2 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.9279, allocations: 8.375 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.9279, allocations: 12.31 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.9281, allocations: 100.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9281, allocations: 192 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.9282, allocations: 15.92 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9282, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.9283, allocations: 43.92 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.9287, allocations: 247.4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.9288, allocations: 115.9 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.929, allocations: 66.67 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.929, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.9293, allocations: 150.5 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/0.9293, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004682/0.9298, allocations: 213.4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.9299, allocations: 110.8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.9301, allocations: 150.6 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.9301, allocations: 37.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.9302, allocations: 92.7 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.9303, allocations: 59.27 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.9304, allocations: 33.7 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9305, allocations: 330.8 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.9306, allocations: 56.25 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.9309, allocations: 172.4 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.9311, allocations: 138.5 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9311, allocations: 3.984 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003508/0.9314, allocations: 205.2 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.9315, allocations: 7.984 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.9315, allocations: 4 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.9315, allocations: 4 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.9316, allocations: 11.94 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.9317, allocations: 4 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.9319, allocations: 63.72 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.9319, allocations: 4 kB / 1.029 GB, free: 9.277 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.0001573/0.9321, allocations: 137.3 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.9321, allocations: 15.75 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.9322, allocations: 20.7 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9322, allocations: 8 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.9322, allocations: 0 / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9322, allocations: 3.938 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.9324, allocations: 201.5 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9324, allocations: 0 / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.9325, allocations: 12 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9325, allocations: 0 / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9325, allocations: 4 kB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9325, allocations: 0 / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9325, allocations: 0 / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.9328, allocations: 225.7 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.9329, allocations: 92.95 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.9329, allocations: 3.938 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.933, allocations: 11.92 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.9331, allocations: 15.98 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.9331, allocations: 8 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.9332, allocations: 106.9 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9332, allocations: 0 / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004372/0.9336, allocations: 99.92 kB / 1.03 GB, free: 8.234 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.0004125/0.9341, allocations: 200.5 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.9344, allocations: 221.2 kB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.9345, allocations: 0 / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.9346, allocations: 59.91 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.9348, allocations: 14.25 kB / 1.03 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.9355, allocations: 283.8 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.936, allocations: 0.7086 MB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.9361, allocations: 12.88 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.9362, allocations: 15.44 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of SimCode: time 8.32e-07/0.9362, allocations: 0 / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.00816/0.9443, allocations: 2.932 MB / 1.034 GB, free: 3.754 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches