Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001878/0.001878, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.002012/0.002012, allocations: 191 kB / 17.29 MB, free: 5.516 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 54.81 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4073, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002911/0.4103, allocations: 1.513 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4115, allocations: 0.6812 MB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.4115, allocations: 0 / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.413e-05/0.4116, allocations: 3.938 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.4117, allocations: 19.84 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009404/0.4126, allocations: 346.6 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4129, allocations: 171.6 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.413, allocations: 7.984 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.413, allocations: 71.83 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.4131, allocations: 43.83 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.4132, allocations: 12 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.4135, allocations: 259.6 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.4136, allocations: 43.89 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.4137, allocations: 63.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.4141, allocations: 299.3 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4141, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4141, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4141, allocations: 0 / 1.03 GB, free: 14.59 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.0006528/0.4148, allocations: 474.9 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4148, allocations: 12.03 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.4149, allocations: 12.75 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.4151, allocations: 220 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4151, allocations: 8.375 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4152, allocations: 12.38 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.4154, allocations: 92.8 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4154, allocations: 192 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4154, allocations: 7.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4154, allocations: 3.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.4155, allocations: 47.95 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.4158, allocations: 247.4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.416, allocations: 103.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4161, allocations: 82.7 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4161, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.4164, allocations: 135.3 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.4164, allocations: 0 / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.000418/0.4168, allocations: 221.2 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.4169, allocations: 118.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.417, allocations: 144.1 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.417, allocations: 37.69 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.4171, allocations: 104.6 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.4172, allocations: 51.36 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.4173, allocations: 57.69 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4174, allocations: 330.8 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.4175, allocations: 56.27 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.4177, allocations: 173.1 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.418, allocations: 142.5 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.418, allocations: 4 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002998/0.4183, allocations: 197.3 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4183, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4183, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4183, allocations: 7.938 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.4184, allocations: 19.92 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4185, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4187, allocations: 43.8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4187, allocations: 8 kB / 1.033 GB, free: 11.13 MB / 0.8106 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.0001448/0.4188, allocations: 148 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4189, allocations: 15.75 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.4189, allocations: 12.86 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4189, allocations: 7.984 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4189, allocations: 0 / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.419, allocations: 0 / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.4191, allocations: 209.5 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4192, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.4192, allocations: 19.98 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4192, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4192, allocations: 8 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4192, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4192, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.4195, allocations: 214.4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.4196, allocations: 93 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4196, allocations: 0 / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.4197, allocations: 11.94 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.4197, allocations: 7.984 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.4198, allocations: 8 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.4198, allocations: 105.4 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003678/0.4202, allocations: 107.9 kB / 1.034 GB, free: 10.08 MB / 0.8106 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.0003166/0.4205, allocations: 208.2 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.4209, allocations: 221.2 kB / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4209, allocations: 0 / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.421, allocations: 55.92 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.4212, allocations: 9.312 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.4217, allocations: 248.7 kB / 1.035 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.422, allocations: 0.7084 MB / 1.035 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.4221, allocations: 12.88 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.4221, allocations: 15.44 kB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4221, allocations: 0 / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of Templates: time 0.006711/0.4288, allocations: 3.088 MB / 1.039 GB, free: 5.477 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches