Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008501/0.0008501, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008014/0.0008014, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9125/0.9125, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.8/1.8, allocations: 377.8 MB / 0.6229 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.601e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002575/0.002601, allocations: 1.497 MB / 0.9836 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003729, allocations: 0.6264 MB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.003774, allocations: 0 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 8.692e-05/0.003861, allocations: 11.88 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.003933, allocations: 11.88 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.004904, allocations: 364.4 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.00514, allocations: 175.6 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.005187, allocations: 4 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.00531, allocations: 91.86 kB / 0.9849 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.005403, allocations: 47.86 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.005434, allocations: 16 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.005846, allocations: 279.5 kB / 0.9852 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.005918, allocations: 39.89 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.005989, allocations: 43.89 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.006437, allocations: 359.1 kB / 0.9856 GB, free: 14.58 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00644, allocations: 0 / 0.9856 GB, free: 14.58 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006441, allocations: 0 / 0.9856 GB, free: 14.58 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.006445, allocations: 0 / 0.9856 GB, free: 14.58 MB / 0.948 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.0005843/0.007029, allocations: 409.2 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.007068, allocations: 12.03 kB / 0.986 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.00713, allocations: 12.89 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.007337, allocations: 153.6 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.007355, allocations: 12.31 kB / 0.9862 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.007383, allocations: 8.375 kB / 0.9862 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.007572, allocations: 103.3 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007582, allocations: 192 / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.007595, allocations: 4.375 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.0076, allocations: 384 / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.752e-05/0.007697, allocations: 51.84 kB / 0.9863 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.007917, allocations: 163.1 kB / 0.9865 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.008062, allocations: 107.9 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.008149, allocations: 62.67 kB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.008161, allocations: 0 / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.008383, allocations: 149.8 kB / 0.9868 GB, free: 13.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.008384, allocations: 0 / 0.9868 GB, free: 13.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.000425/0.008809, allocations: 217.7 kB / 0.987 GB, free: 12.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.00888, allocations: 114.8 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.009, allocations: 149.6 kB / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.009036, allocations: 37.7 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.009092, allocations: 96.64 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.009158, allocations: 63.52 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.009245, allocations: 57.7 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.009356, allocations: 330.8 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.009458, allocations: 44.27 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.00976, allocations: 469.8 kB / 0.9883 GB, free: 11.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.009957, allocations: 134.5 kB / 0.9884 GB, free: 11.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.00996, allocations: 0 / 0.9884 GB, free: 11.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002986/0.01026, allocations: 193.4 kB / 0.9886 GB, free: 11.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01027, allocations: 4 kB / 0.9886 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.0103, allocations: 7.984 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.01032, allocations: 15.88 kB / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.01042, allocations: 15.94 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01042, allocations: 4 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.01061, allocations: 47.78 kB / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01063, allocations: 11.98 kB / 0.9887 GB, free: 11.03 MB / 0.948 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.000121/0.01075, allocations: 136.6 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.01078, allocations: 15.91 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.01081, allocations: 12.77 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01081, allocations: 11.94 kB / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01082, allocations: 0 / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01082, allocations: 0 / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.01095, allocations: 149.1 kB / 0.989 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01096, allocations: 0 / 0.989 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.011, allocations: 8 kB / 0.989 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.011, allocations: 0 / 0.989 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01102, allocations: 12 kB / 0.9891 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01102, allocations: 3.984 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01103, allocations: 7.938 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.0113, allocations: 200.1 kB / 0.9893 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.01132, allocations: 19.91 kB / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.01134, allocations: 11.92 kB / 0.9893 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.0114, allocations: 4 kB / 0.9893 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.01144, allocations: 11.98 kB / 0.9893 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01145, allocations: 4 kB / 0.9893 GB, free: 10.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.822e-05/0.01152, allocations: 113.7 kB / 0.9894 GB, free: 10.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01152, allocations: 0 / 0.9894 GB, free: 10.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003525/0.01187, allocations: 103.7 kB / 0.9895 GB, free: 10.16 MB / 0.948 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.0003135/0.01219, allocations: 215.8 kB / 0.9897 GB, free: 9.938 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.01251, allocations: 216.9 kB / 0.9899 GB, free: 9.707 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01251, allocations: 4 kB / 0.9899 GB, free: 9.703 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.01259, allocations: 47.92 kB / 0.99 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01278, allocations: 8 kB / 0.99 GB, free: 9.648 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.01322, allocations: 269.8 kB / 0.9902 GB, free: 9.344 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.0133, allocations: 88.81 kB / 0.9903 GB, free: 9.238 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.01333, allocations: 16.5 kB / 0.9903 GB, free: 9.223 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01333, allocations: 4 kB / 0.9903 GB, free: 9.219 MB / 0.948 GB Notification: Performance of Templates: time 0.004607/0.01794, allocations: 3.185 MB / 0.9935 GB, free: 6.055 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.070025698281825]