Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001237/0.001237, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.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.811/2.811, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006246/0.0006249, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8883, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002179/0.8906, allocations: 1.184 MB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8919, allocations: 0.6313 MB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.892, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.498e-05/0.8921, allocations: 11.86 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.8922, allocations: 11.92 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.8932, allocations: 291.2 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.8935, allocations: 139.7 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.8935, allocations: 11.97 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.8936, allocations: 71.81 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8938, allocations: 43.83 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.8938, allocations: 12 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.8942, allocations: 223.7 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.8943, allocations: 35.88 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.8944, allocations: 41.7 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.8947, allocations: 209.5 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8947, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8948, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8948, allocations: 0 / 1.025 GB, free: 13.13 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.0007815/0.8956, allocations: 462.8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8956, allocations: 8.562 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.8957, allocations: 11.91 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.8959, allocations: 204.9 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.896, allocations: 7.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.896, allocations: 15.95 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.8962, allocations: 108.2 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8962, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8963, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.8963, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.8964, allocations: 43.91 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.8967, allocations: 255.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.8969, allocations: 107.8 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.897, allocations: 70.7 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.897, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.8973, allocations: 142.9 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.8973, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004243/0.8977, allocations: 205.5 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.8978, allocations: 122.7 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.898, allocations: 139.2 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.898, allocations: 41.69 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.8981, allocations: 92.7 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.8982, allocations: 59.28 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.8982, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8983, allocations: 330.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.8984, allocations: 52.2 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.8986, allocations: 184.3 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.8988, allocations: 59.94 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8988, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002925/0.8991, allocations: 201.5 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8991, allocations: 7.953 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.8991, allocations: 7.984 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8992, allocations: 3.984 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.8993, allocations: 16 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8993, allocations: 0 / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.8995, allocations: 63.36 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.8995, allocations: 8 kB / 1.028 GB, free: 9.82 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.8997, allocations: 144 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.8997, allocations: 11.81 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.8998, allocations: 20.67 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8998, allocations: 3.984 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8998, allocations: 4 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8998, allocations: 0 / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.9, allocations: 205.5 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.9, allocations: 15.92 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.9001, allocations: 4 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9001, allocations: 8 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.9001, allocations: 7.953 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9001, allocations: 0 / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.9004, allocations: 202.8 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.9005, allocations: 92.86 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.9005, allocations: 7.938 kB / 1.029 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.9006, allocations: 15.98 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.9006, allocations: 11.89 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.9006, allocations: 7.984 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.9007, allocations: 105.1 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.9007, allocations: 0 / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000375/0.9011, allocations: 103.9 kB / 1.029 GB, free: 8.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.9014, allocations: 203.4 kB / 1.029 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.9018, allocations: 221.5 kB / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9018, allocations: 0 / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.9019, allocations: 52.11 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.9021, allocations: 14.98 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.9026, allocations: 279.9 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.9029, allocations: 0.7087 MB / 1.03 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.9029, allocations: 16.81 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.903, allocations: 15.44 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.903, allocations: 4 kB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of Templates: time 0.006119/0.9091, allocations: 2.853 MB / 1.033 GB, free: 4.367 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches