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.01172/0.01172, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002347/0.002347, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.686/2.686, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364/1.366, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002839/1.368, allocations: 1.485 MB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001203/1.37, allocations: 0.6936 MB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/1.37, allocations: 0.9688 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/1.37, allocations: 11.81 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/1.37, allocations: 13.44 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/1.371, allocations: 347.5 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/1.372, allocations: 171 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/1.372, allocations: 12.95 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/1.372, allocations: 72.92 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/1.372, allocations: 52.88 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/1.372, allocations: 11.47 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/1.373, allocations: 247.6 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/1.373, allocations: 42.78 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/1.373, allocations: 60.98 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006848/1.374, allocations: 298.1 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.374, allocations: 0 / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.205e-06/1.374, allocations: 4 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.374, allocations: 0.6875 kB / 1.091 GB, free: 3.484 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.0008056/1.374, allocations: 475.9 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.374, allocations: 10.59 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/1.375, allocations: 12.03 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/1.375, allocations: 211.6 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.375, allocations: 9.469 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/1.375, allocations: 9.234 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/1.375, allocations: 105.7 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/1.375, allocations: 5.094 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.375, allocations: 4.5 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/1.375, allocations: 2.344 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.375, allocations: 49.58 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/1.376, allocations: 246.6 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/1.376, allocations: 109.7 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.376, allocations: 69.7 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/1.376, allocations: 1.922 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/1.376, allocations: 141.5 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.495e-06/1.376, allocations: 3.984 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005481/1.377, allocations: 216.4 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.377, allocations: 121.2 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.377, allocations: 139.4 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/1.377, allocations: 39.42 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/1.377, allocations: 99.72 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/1.377, allocations: 55.84 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.377, allocations: 60.08 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/1.378, allocations: 328.5 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.378, allocations: 52.05 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/1.378, allocations: 185.2 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/1.378, allocations: 128.7 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.378, allocations: 0.75 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003507/1.379, allocations: 204.8 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.379, allocations: 5.891 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/1.379, allocations: 12.67 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.379, allocations: 2.031 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/1.379, allocations: 15.89 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.379, allocations: 2.375 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/1.379, allocations: 45.89 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/1.379, allocations: 6.625 kB / 1.094 GB, free: 1.023 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.0001507/1.379, allocations: 136.6 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/1.379, allocations: 24.95 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/1.379, allocations: 13.2 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.379, allocations: 2.844 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.379, allocations: 1.469 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.379, allocations: 5.266 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.379, allocations: 205 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/1.379, allocations: 0.8125 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/1.38, allocations: 9.656 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.38, allocations: 1.938 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/1.38, allocations: 3.016 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.38, allocations: 6.312 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.38, allocations: 4.906 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/1.38, allocations: 214.5 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/1.38, allocations: 89.42 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/1.38, allocations: 7.75 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/1.38, allocations: 8.297 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/1.38, allocations: 16.5 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/1.38, allocations: 4.766 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.218e-05/1.38, allocations: 106.6 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.38, allocations: 0 / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005631/1.381, allocations: 106.7 kB / 1.095 GB, free: 296 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.0003558/1.381, allocations: 196.9 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004084/1.382, allocations: 230.8 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.382, allocations: 4 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.382, allocations: 57.62 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/1.382, allocations: 8.328 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/1.383, allocations: 246.4 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/1.383, allocations: 0.7068 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.33e-05/1.383, allocations: 15.41 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/1.383, allocations: 14.91 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.383, allocations: 1 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.008903/1.392, allocations: 3.102 MB / 1.1 GB, free: 14.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches