Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001244/0.001244, allocations: 91.61 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.001513/0.001513, 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.56/1.56, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.916/2.916, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 7.969 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3853, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001686/0.387, allocations: 1.174 MB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3881, allocations: 0.6546 MB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.3882, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.3883, allocations: 3.984 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.23e-05/0.3883, allocations: 11.88 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.3893, allocations: 278.5 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3895, allocations: 143.6 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.3896, allocations: 7.984 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.3897, allocations: 67.83 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3898, allocations: 47.81 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3899, allocations: 8 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.3903, allocations: 227.8 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.3903, allocations: 31.89 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.3904, allocations: 49.62 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3907, allocations: 207.8 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3907, allocations: 0 / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3908, allocations: 0 / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3908, allocations: 4 kB / 1.061 GB, free: 2.457 MB / 0.8106 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.0007241/0.3915, allocations: 454.7 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3916, allocations: 12.03 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.3916, allocations: 7.906 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3919, allocations: 214.7 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.392, allocations: 11.95 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.392, allocations: 15.98 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3922, allocations: 102.2 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3923, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3923, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3923, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3924, allocations: 43.97 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.3927, allocations: 243.4 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3929, allocations: 111.9 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.393, allocations: 78.55 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.393, allocations: 4 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.3933, allocations: 131.8 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.3934, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004515/0.3938, allocations: 225.2 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.3939, allocations: 118.7 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3941, allocations: 140.2 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3941, allocations: 33.7 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.3942, allocations: 100.7 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.3942, allocations: 59.28 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.3942, allocations: 8 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3944, allocations: 322.8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3945, allocations: 52.25 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3947, allocations: 184.4 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3948, allocations: 60.05 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3948, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002683/0.3951, allocations: 201.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3951, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.3951, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3951, allocations: 8.078 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.3952, allocations: 19.92 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.3953, allocations: 4 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3955, allocations: 55.7 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.3955, allocations: 11.98 kB / 1.064 GB, free: 15.15 MB / 0.8262 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.0001484/0.3957, allocations: 148 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3957, allocations: 11.86 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.3957, allocations: 16.72 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3958, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3958, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3958, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.396, allocations: 209.4 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.396, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3961, allocations: 15.98 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3961, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3961, allocations: 15.95 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.3961, allocations: 3.938 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3961, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3964, allocations: 201.1 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.3964, allocations: 92.91 kB / 1.064 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3965, allocations: 4 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.3965, allocations: 15.95 kB / 1.064 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3966, allocations: 7.984 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3966, allocations: 4 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.3967, allocations: 107.2 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.796e-06/0.3967, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000407/0.3971, allocations: 107.9 kB / 1.065 GB, free: 14.11 MB / 0.8262 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.0003596/0.3975, allocations: 199.1 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3979, allocations: 225 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3979, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.398, allocations: 55.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.3982, allocations: 8 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.3987, allocations: 276.2 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3991, allocations: 0.7087 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.3991, allocations: 12.88 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.3992, allocations: 23.42 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3992, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.005997/0.4052, allocations: 2.864 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches