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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.494/3.494, allocations: 0.4893 GB / 0.7884 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 66.7 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5245, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004271/0.5287, allocations: 1.504 MB / 1.317 GB, free: 8.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.5301, allocations: 0.6851 MB / 1.318 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.5301, allocations: 0 / 1.318 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.5302, allocations: 3.938 kB / 1.318 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.5304, allocations: 19.84 kB / 1.318 GB, free: 7.523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.5316, allocations: 350.6 kB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.5318, allocations: 175.7 kB / 1.319 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.5319, allocations: 15.98 kB / 1.319 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.532, allocations: 67.83 kB / 1.319 GB, free: 6.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.5321, allocations: 55.77 kB / 1.319 GB, free: 6.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.5322, allocations: 12 kB / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.5327, allocations: 291.6 kB / 1.319 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.5328, allocations: 39.89 kB / 1.319 GB, free: 6.539 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.5329, allocations: 55.73 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.5333, allocations: 311 kB / 1.319 GB, free: 6.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5334, allocations: 0 / 1.319 GB, free: 6.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5334, allocations: 4 kB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.5334, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 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.0008172/0.5342, allocations: 409.2 kB / 1.32 GB, free: 5.742 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.5342, allocations: 8.031 kB / 1.32 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.5343, allocations: 16.89 kB / 1.32 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5346, allocations: 160.6 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5346, allocations: 4.375 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.5347, allocations: 12.38 kB / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.5349, allocations: 104.7 kB / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5349, allocations: 192 / 1.32 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.5349, allocations: 7.922 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5349, allocations: 3.984 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5351, allocations: 39.98 kB / 1.32 GB, free: 5.355 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.5354, allocations: 226.4 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5356, allocations: 99.86 kB / 1.321 GB, free: 4.961 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5357, allocations: 66.61 kB / 1.321 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5357, allocations: 4 kB / 1.321 GB, free: 4.883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.5361, allocations: 139.9 kB / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.103e-06/0.5361, allocations: 0 / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0005029/0.5366, allocations: 226 kB / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.5367, allocations: 118.8 kB / 1.321 GB, free: 4.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5368, allocations: 140 kB / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.5368, allocations: 37.7 kB / 1.321 GB, free: 4.172 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.5369, allocations: 96.64 kB / 1.321 GB, free: 4.074 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.537, allocations: 55.58 kB / 1.321 GB, free: 4.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.5371, allocations: 57.7 kB / 1.321 GB, free: 3.957 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5373, allocations: 330.8 kB / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5374, allocations: 48.27 kB / 1.322 GB, free: 3.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.5376, allocations: 191.1 kB / 1.322 GB, free: 3.348 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.5378, allocations: 126.5 kB / 1.322 GB, free: 3.215 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5378, allocations: 0 / 1.322 GB, free: 3.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003318/0.5381, allocations: 201.4 kB / 1.322 GB, free: 3.012 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5382, allocations: 8 kB / 1.322 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.5382, allocations: 12 kB / 1.322 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5382, allocations: 7.922 kB / 1.322 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.5383, allocations: 19.94 kB / 1.322 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5383, allocations: 0 / 1.322 GB, free: 2.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.5386, allocations: 47.84 kB / 1.322 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.5386, allocations: 4 kB / 1.322 GB, free: 2.914 MB / 1.014 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.0001591/0.5387, allocations: 149.4 kB / 1.323 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.5388, allocations: 19.84 kB / 1.323 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.5388, allocations: 12.72 kB / 1.323 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5388, allocations: 0 / 1.323 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5388, allocations: 4 kB / 1.323 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5388, allocations: 3.984 kB / 1.323 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.5391, allocations: 184.5 kB / 1.323 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5391, allocations: 0 / 1.323 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.5391, allocations: 11.98 kB / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5391, allocations: 4 kB / 1.323 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5391, allocations: 0 / 1.323 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5391, allocations: 4 kB / 1.323 GB, free: 2.473 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5391, allocations: 7.938 kB / 1.323 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.5395, allocations: 206.6 kB / 1.323 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.5395, allocations: 19.84 kB / 1.323 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.5395, allocations: 4 kB / 1.323 GB, free: 2.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.5396, allocations: 7.938 kB / 1.323 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.5396, allocations: 15.98 kB / 1.323 GB, free: 2.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5397, allocations: 7.984 kB / 1.323 GB, free: 2.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.5397, allocations: 107.2 kB / 1.323 GB, free: 2.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.5397, allocations: 0 / 1.323 GB, free: 2.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004574/0.5402, allocations: 103.8 kB / 1.323 GB, free: 1.977 MB / 1.014 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.0003754/0.5406, allocations: 203.6 kB / 1.323 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.541, allocations: 208.9 kB / 1.324 GB, free: 1.547 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.541, allocations: 4 kB / 1.324 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.5411, allocations: 51.91 kB / 1.324 GB, free: 1.492 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5413, allocations: 11.06 kB / 1.324 GB, free: 1.484 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.5419, allocations: 248.4 kB / 1.324 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.5423, allocations: 0.7045 MB / 1.325 GB, free: 492 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.759e-05/0.5424, allocations: 16.97 kB / 1.325 GB, free: 472 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.5424, allocations: 15.44 kB / 1.325 GB, free: 456 kB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.5424, allocations: 0 / 1.325 GB, free: 456 kB / 1.014 GB Notification: Performance of Templates: time 0.007696/0.5501, allocations: 3.178 MB / 1.328 GB, free: 13.3 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.488116689957678]