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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002653/0.002653, allocations: 165.2 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.758/1.758, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.029/3.029, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.573e-06/1.573e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.208e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003205/0.003237, allocations: 1.498 MB / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004471, allocations: 0.6186 MB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.004521, allocations: 0 / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.004572, allocations: 7.938 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.004631, allocations: 19.84 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.005838, allocations: 366.3 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.006142, allocations: 171.6 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.006185, allocations: 7.984 kB / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.006348, allocations: 91.86 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.006448, allocations: 39.89 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.006491, allocations: 12 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.007026, allocations: 287.5 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.007108, allocations: 35.89 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.007192, allocations: 43.86 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.008029, allocations: 363.1 kB / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.008036, allocations: 3.984 kB / 1.004 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.62e-07/0.008037, allocations: 0 / 1.004 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.008043, allocations: 0 / 1.004 GB, free: 3.773 MB / 0.9512 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.0007118/0.008755, allocations: 405.3 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.008792, allocations: 8.031 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.008875, allocations: 16.84 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.009108, allocations: 153.6 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.009128, allocations: 8.375 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.009155, allocations: 12.31 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.009357, allocations: 96.8 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.009365, allocations: 192 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.009373, allocations: 384 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.009376, allocations: 384 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.009506, allocations: 55.84 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.009794, allocations: 167.1 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.009985, allocations: 103.8 kB / 1.005 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.0101, allocations: 66.7 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01012, allocations: 0 / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.01044, allocations: 137.9 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/0.01044, allocations: 0 / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.000503/0.01094, allocations: 217.3 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.01105, allocations: 122.8 kB / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.0112, allocations: 139.6 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.01125, allocations: 45.69 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.01134, allocations: 92.64 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.01142, allocations: 63.53 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.01153, allocations: 61.69 kB / 1.005 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.01172, allocations: 326.8 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.01183, allocations: 48.25 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.01226, allocations: 463.2 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.0125, allocations: 138.5 kB / 1.006 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01251, allocations: 0 / 1.006 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003535/0.01286, allocations: 193.4 kB / 1.007 GB, free: 348 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.01288, allocations: 4 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.0129, allocations: 4 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.01292, allocations: 7.938 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01305, allocations: 19.92 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01306, allocations: 7.938 kB / 1.007 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.01334, allocations: 55.31 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.01337, allocations: 8.938 kB / 1.007 GB, free: 244 kB / 0.9512 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.0001813/0.01355, allocations: 137.1 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01358, allocations: 15.95 kB / 1.007 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.01362, allocations: 12.78 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.01363, allocations: 3.938 kB / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.01364, allocations: 8 kB / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.01365, allocations: 7.984 kB / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.01385, allocations: 137.2 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.01386, allocations: 3.984 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.01391, allocations: 11.94 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.01392, allocations: 4 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01393, allocations: 0 / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.01394, allocations: 4 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.01394, allocations: 3.938 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.01431, allocations: 214.5 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.01433, allocations: 7.953 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.01436, allocations: 12 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.01442, allocations: 7.984 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.01448, allocations: 11.98 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01449, allocations: 4 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.977e-05/0.01459, allocations: 109.4 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01459, allocations: 0 / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004789/0.01507, allocations: 107.7 kB / 1.007 GB, free: 15.37 MB / 0.9669 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.0004825/0.01555, allocations: 218.9 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.01601, allocations: 216.9 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01601, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01612, allocations: 47.92 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01635, allocations: 10.25 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.01704, allocations: 243.8 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.01723, allocations: 100.8 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.01729, allocations: 13.25 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.01733, allocations: 20.5 kB / 1.008 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.01733, allocations: 0 / 1.008 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.009307/0.02664, allocations: 3.211 MB / 1.011 GB, free: 11.26 MB / 0.9669 GB " [Timeout remaining time 300] 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: 9.175601586699486]