Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001575/0.001575, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.832/2.832, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.929e-05, allocations: 9.062 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002761/0.002801, allocations: 1.492 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004122, allocations: 0.6364 MB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.004163, allocations: 7.938 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.004249, allocations: 9.094 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/0.004329, allocations: 19.84 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.005419, allocations: 352.2 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.005711, allocations: 184.7 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.005747, allocations: 4 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.005891, allocations: 91.86 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.00598, allocations: 40.58 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.006015, allocations: 12.91 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.006494, allocations: 283.5 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.006566, allocations: 36.56 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.006647, allocations: 39.91 kB / 0.7895 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.007165, allocations: 366.6 kB / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007168, allocations: 0 / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007169, allocations: 0 / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.007173, allocations: 0 / 0.7898 GB, free: 9.309 MB / 0.7448 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.0006951/0.007868, allocations: 405.2 kB / 0.7902 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.007906, allocations: 12.03 kB / 0.7902 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.00798, allocations: 16.89 kB / 0.7902 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.008216, allocations: 149.6 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.008231, allocations: 5.094 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.008261, allocations: 12.38 kB / 0.7904 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.008479, allocations: 108.6 kB / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.008487, allocations: 192 / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.008504, allocations: 4.375 kB / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.008508, allocations: 384 / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.008615, allocations: 47.84 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.008887, allocations: 172.5 kB / 0.7907 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.009058, allocations: 103.8 kB / 0.7908 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.009172, allocations: 68.3 kB / 0.7909 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.009188, allocations: 4 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.009472, allocations: 137.8 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 9.72e-07/0.009473, allocations: 3.938 kB / 0.791 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004793/0.009952, allocations: 222.4 kB / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.01006, allocations: 122.7 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.0102, allocations: 139.4 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.01025, allocations: 37.7 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.01034, allocations: 92.64 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.01041, allocations: 55.53 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.01052, allocations: 65.69 kB / 0.7917 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.01071, allocations: 327.3 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01082, allocations: 48.95 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.0113, allocations: 463.2 kB / 0.7925 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.01152, allocations: 135 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01152, allocations: 0.7188 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003636/0.01188, allocations: 209.4 kB / 0.7928 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.0119, allocations: 7.469 kB / 0.7928 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.01193, allocations: 7.984 kB / 0.7928 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.01194, allocations: 3.938 kB / 0.7928 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.01204, allocations: 16.47 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01205, allocations: 1.375 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.01229, allocations: 47.84 kB / 0.7929 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01231, allocations: 9.156 kB / 0.7929 GB, free: 5.773 MB / 0.7448 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.0001496/0.01246, allocations: 144.4 kB / 0.7931 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.01249, allocations: 16.47 kB / 0.7931 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.01274, allocations: 20.77 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01274, allocations: 4.75 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01275, allocations: 0 / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01275, allocations: 4.938 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.01292, allocations: 141.3 kB / 0.7932 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01292, allocations: 1 kB / 0.7932 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.01297, allocations: 12 kB / 0.7933 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.01298, allocations: 7.984 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01299, allocations: 0.8125 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01299, allocations: 4 kB / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01299, allocations: 4.875 kB / 0.7933 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.01335, allocations: 216.1 kB / 0.7935 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01337, allocations: 11.91 kB / 0.7935 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.01339, allocations: 5.219 kB / 0.7935 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.01345, allocations: 11.92 kB / 0.7935 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.0135, allocations: 11.98 kB / 0.7935 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01351, allocations: 4.844 kB / 0.7935 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001005/0.01361, allocations: 107.2 kB / 0.7936 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01361, allocations: 2.219 kB / 0.7936 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003744/0.01399, allocations: 103.7 kB / 0.7937 GB, free: 4.906 MB / 0.7448 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.0003857/0.01437, allocations: 218.9 kB / 0.7939 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.01473, allocations: 209 kB / 0.7941 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01473, allocations: 3.031 kB / 0.7941 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.01482, allocations: 51.92 kB / 0.7942 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.01501, allocations: 8 kB / 0.7942 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.01554, allocations: 255.7 kB / 0.7944 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.01564, allocations: 88.81 kB / 0.7945 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.0157, allocations: 14.31 kB / 0.7945 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.01573, allocations: 16.5 kB / 0.7945 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01573, allocations: 0 / 0.7945 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of Templates: time 0.007556/0.02329, allocations: 3.262 MB / 0.7977 GB, free: 0.793 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.95002976199612]