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.001714/0.001714, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.001968/0.001968, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.939/2.939, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.91 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9182/0.9203, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002408/0.9227, allocations: 1.507 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.9236, allocations: 0.6798 MB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.9237, allocations: 4 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.026e-05/0.9238, allocations: 13.77 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.9238, allocations: 14.12 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.9248, allocations: 342.3 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.925, allocations: 172 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.925, allocations: 2.781 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.9251, allocations: 71.42 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.9252, allocations: 53.56 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.9252, allocations: 10.47 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.9255, allocations: 264.6 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.9256, allocations: 41 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.9257, allocations: 56.8 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.926, allocations: 305 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.926, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.926, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.926, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 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.000574/0.9266, allocations: 483.7 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9266, allocations: 18.53 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.9267, allocations: 14.91 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.9269, allocations: 208.2 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.9269, allocations: 3.25 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.9269, allocations: 13.25 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.9271, allocations: 101.2 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9271, allocations: 4.188 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9271, allocations: 3.938 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.9271, allocations: 6.703 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.9272, allocations: 48.27 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.9274, allocations: 249.3 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.9275, allocations: 102.4 kB / 1.327 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.9276, allocations: 68.09 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.9276, allocations: 0 / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.9279, allocations: 140 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.9279, allocations: 0 / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0004588/0.9283, allocations: 221.6 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.9284, allocations: 121.5 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.9285, allocations: 141.7 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.9285, allocations: 34.8 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.9286, allocations: 101.1 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.9287, allocations: 55.28 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.9287, allocations: 63.06 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.9288, allocations: 329.2 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.9289, allocations: 52.64 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.9291, allocations: 175.9 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.9293, allocations: 134.9 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9293, allocations: 0 / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003531/0.9297, allocations: 203.1 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9297, allocations: 5.656 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.9298, allocations: 11.89 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9298, allocations: 1.219 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.9299, allocations: 14.22 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9299, allocations: 5.781 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.9301, allocations: 47.25 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.9301, allocations: 5.875 kB / 1.328 GB, free: 20.56 MB / 1.061 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.0001137/0.9302, allocations: 141.3 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.9303, allocations: 21.23 kB / 1.329 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.9303, allocations: 19.5 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9303, allocations: 1.938 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9303, allocations: 4.875 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9303, allocations: 0.8125 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.9305, allocations: 202.5 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9305, allocations: 0.9375 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.9305, allocations: 12.7 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.9305, allocations: 1.094 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.9306, allocations: 7.219 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9306, allocations: 4.625 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9306, allocations: 0.75 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.9309, allocations: 218.5 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.9309, allocations: 93.27 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.9309, allocations: 5.938 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.931, allocations: 10.53 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.9311, allocations: 11.8 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.9311, allocations: 4.688 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.9311, allocations: 115 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9311, allocations: 0 / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004493/0.9316, allocations: 101.8 kB / 1.329 GB, free: 19.82 MB / 1.061 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.0003362/0.9319, allocations: 207.8 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.9323, allocations: 211 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9323, allocations: 0.6875 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.9324, allocations: 47.88 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.9326, allocations: 12.56 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.933, allocations: 273.5 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.9332, allocations: 0.7111 MB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.9333, allocations: 17.69 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.9333, allocations: 1.75 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of Templates: time 0.006936/0.9402, allocations: 3.121 MB / 1.334 GB, free: 18.25 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.87180473000626]