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.01214/0.01214, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.002179/0.00218, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 15.04 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.62/2.62, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295/1.296, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003298/1.3, allocations: 1.494 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001358/1.301, allocations: 0.6863 MB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/1.301, allocations: 0 / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/1.301, allocations: 13.31 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.262e-05/1.301, allocations: 12.5 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/1.302, allocations: 351.8 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/1.303, allocations: 162.7 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/1.303, allocations: 13.36 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/1.303, allocations: 73.47 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/1.303, allocations: 48.47 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/1.303, allocations: 11.78 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/1.304, allocations: 251.2 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/1.304, allocations: 42.55 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/1.304, allocations: 61.08 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/1.305, allocations: 298.2 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.305, allocations: 1 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/1.305, allocations: 0 / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.305, allocations: 0 / 1.091 GB, free: 3.488 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.0007213/1.305, allocations: 481.5 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.305, allocations: 10.34 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/1.305, allocations: 20.03 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/1.306, allocations: 211.9 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.306, allocations: 9.547 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/1.306, allocations: 8.719 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/1.306, allocations: 99.3 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.306, allocations: 2.078 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.306, allocations: 3.938 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/1.306, allocations: 5.656 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/1.306, allocations: 49.11 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/1.306, allocations: 251 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/1.307, allocations: 106.7 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/1.307, allocations: 85.45 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/1.307, allocations: 2.031 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/1.307, allocations: 136 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/1.307, allocations: 0 / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005357/1.308, allocations: 218.2 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/1.308, allocations: 120.5 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.308, allocations: 139 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.308, allocations: 35.56 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/1.308, allocations: 98.8 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/1.308, allocations: 61.19 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.308, allocations: 60.39 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.308, allocations: 328.3 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.308, allocations: 55.14 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/1.309, allocations: 177.8 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/1.309, allocations: 133.5 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.309, allocations: 0 / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003707/1.309, allocations: 204.5 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.309, allocations: 6.297 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.309, allocations: 4.594 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.309, allocations: 2.5 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.309, allocations: 16.02 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/1.31, allocations: 5.891 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/1.31, allocations: 50.78 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/1.31, allocations: 10.75 kB / 1.094 GB, free: 1.008 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.0001375/1.31, allocations: 139.5 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/1.31, allocations: 14 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/1.31, allocations: 13.11 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.31, allocations: 2.125 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.31, allocations: 1.422 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.31, allocations: 2.406 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/1.31, allocations: 211 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.31, allocations: 1.531 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/1.31, allocations: 17.38 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.31, allocations: 2.625 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.31, allocations: 7.25 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.31, allocations: 1.578 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.31, allocations: 0.6875 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/1.311, allocations: 208.1 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/1.311, allocations: 98.06 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/1.311, allocations: 6.609 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/1.311, allocations: 8.812 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/1.311, allocations: 12.3 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.311, allocations: 9.234 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.379e-05/1.311, allocations: 111.2 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.311, allocations: 0 / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005563/1.312, allocations: 102 kB / 1.095 GB, free: 276 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.000395/1.312, allocations: 210.3 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003997/1.312, allocations: 214.2 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.312, allocations: 0 / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/1.313, allocations: 57.72 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/1.313, allocations: 14.16 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/1.313, allocations: 245.2 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/1.314, allocations: 0.7137 MB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.991e-05/1.314, allocations: 10.92 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/1.314, allocations: 15.89 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/1.314, allocations: 0 / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.008944/1.323, allocations: 3.101 MB / 1.1 GB, free: 14.78 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